Script Preparation code:
Tests:
  • substring and indexOf

  • replace

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    substring and indexOf
    replace

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Chrome 87 on Linux
View result in a separate tab
Test name Executions per second
substring and indexOf 4147714.0 Ops/sec
replace 2459778.0 Ops/sec