Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    indexOf()
    substr()
    test()
    === || ===
    substring()
    ===
    test() 2

    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:135.0) Gecko/20100101 Firefox/135.0
Firefox 135 on Linux
View result in a separate tab
===
3.3M/s
indexOf()
3.3M/s
substr()
3.3M/s
substring()
3.2M/s
test()
2.8M/s
test() 2
2.8M/s
=== || ===
1.6M/s
View exact numbers
Test name Executions per second
=== 3,296,522 Ops/sec
indexOf() 3,278,089 Ops/sec
substr() 3,254,466 Ops/sec
substring() 3,239,415 Ops/sec
test() 2,844,087 Ops/sec
test() 2 2,750,311 Ops/sec
=== || === 1,624,196 Ops/sec