Tests:
  • String.prototype.replace

  • String.prototype.replaceAll

  • String.prototype.split

  • Array.prototype.map

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    String.prototype.replace
    String.prototype.replaceAll
    String.prototype.split
    Array.prototype.map

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123 on Windows
View result in a separate tab
Test name Executions per second
String.prototype.replace 560343.6 Ops/sec
String.prototype.replaceAll 548199.8 Ops/sec
String.prototype.split 522349.3 Ops/sec
Array.prototype.map 174363.5 Ops/sec


;