Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match

  • equal operator

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0
Chrome 143 on Windows
View result in a separate tab
Test name Executions per second
RegEx.test 39200428.0 Ops/sec
String.includes 137542176.0 Ops/sec
String.match 9410347.0 Ops/sec
equal operator 135518000.0 Ops/sec