Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match

  • String.indexof

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Android 10; Mobile; rv:109.0) Gecko/112.0 Firefox/112.0
Firefox Mobile 112 on Android
View result in a separate tab
Test name Executions per second
RegEx.test 9960911.0 Ops/sec
String.includes 13843043.0 Ops/sec
String.match 4720408.5 Ops/sec
String.indexof 508232384.0 Ops/sec