HTML Preparation code:
Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Value Found - string.startsWith method
    Value Found - string.indexOf method
    Value Found - string.search method
    Value Found - string.match method

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122 on Mac OS X 10.15.7
View result in a separate tab
Value Found - string.indexOf method
4K/s
Value Found - string.startsWith method
174/s
Value Found - string.match method
139/s
Value Found - string.search method
44/s
View exact numbers
Test name Executions per second
Value Found - string.indexOf method 4,109 Ops/sec
Value Found - string.startsWith method 174 Ops/sec
Value Found - string.match method 139 Ops/sec
Value Found - string.search method 44 Ops/sec