Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
Chrome 139 on Linux
View result in a separate tab
String.includes
117.0M/s
RegEx.test
1.7M/s
String.match
839K/s
View exact numbers
Test name Executions per second
String.includes 117,010,704 Ops/sec
RegEx.test 1,654,293 Ops/sec
String.match 838,590 Ops/sec