Script Preparation code:
Tests:
  • index

  • charAt()

  • startsWith()

  • slice()

  • RegExp

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    index
    charAt()
    startsWith()
    slice()
    RegExp

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36
Chrome 76 on Mac OS X 10.11.6
View result in a separate tab
Test name Executions per second
index 3941149.5 Ops/sec
charAt() 3878599.5 Ops/sec
startsWith() 3931649.5 Ops/sec
slice() 3594637.5 Ops/sec
RegExp 3180349.5 Ops/sec


;