Script Preparation code:
Tests:
  • index

  • charAt

  • startsWith & endsWith

  • slice

  • regex test

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    index
    charAt
    startsWith & endsWith
    slice
    regex test

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 10 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120 on Windows
View result in a separate tab
Test name Executions per second
index 9205743.0 Ops/sec
charAt 9420998.0 Ops/sec
startsWith & endsWith 14483555.0 Ops/sec
slice 13918265.0 Ops/sec
regex test 19152800.0 Ops/sec


;