Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    RegEx.test
    String.includes

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
Chrome 147 on Windows
View result in a separate tab
String.includes
101.9M/s
RegEx.test
68.5M/s
View exact numbers
Test name Executions per second
String.includes 101,939,552 Ops/sec
RegEx.test 68,460,664 Ops/sec