Script Preparation code:
Tests:
  • .indexOf

  • .lastIndexOf

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    .indexOf
    .lastIndexOf

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Firefox 112 on Linux
View result in a separate tab
Test name Executions per second
.indexOf 12750414.0 Ops/sec
.lastIndexOf 11941664.0 Ops/sec