Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match

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; CrOS x86_64 14909.100.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Chrome 104 on Chrome OS 14909.100.0
View result in a separate tab
Test name Executions per second
RegEx.test 1819113.4 Ops/sec
String.includes 4524685.0 Ops/sec
String.match 1227836.6 Ops/sec