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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3 Safari/605.1.15
Safari 18 on Mac OS X 10.15.7
View result in a separate tab
RegEx.test
407.6M/s
String.includes
46.1M/s
String.match
20.6M/s
View exact numbers
Test name Executions per second
RegEx.test 407,645,632 Ops/sec
String.includes 46,120,600 Ops/sec
String.match 20,578,666 Ops/sec