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: 2 years ago)
Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0
Firefox 121 on Linux
View result in a separate tab
String.includes
56.7M/s
RegEx.test
49.7M/s
String.match
20.6M/s
View exact numbers
Test name Executions per second
String.includes 56,661,664 Ops/sec
RegEx.test 49,650,084 Ops/sec
String.match 20,585,702 Ops/sec