Script Preparation code:
Tests:
  • regex

  • split

  • indexOf1

  • indexOf2

  • singleChar

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    regex
    split
    indexOf1
    indexOf2
    singleChar

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
regex 720311.9 Ops/sec
split 3245172.5 Ops/sec
indexOf1 1459711.2 Ops/sec
indexOf2 1503799.6 Ops/sec
singleChar 535844.1 Ops/sec


;