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

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 10 months ago)
Mozilla/5.0 (Linux; Android 13; SM-G781U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36 EdgA/114.0.1823.41
Chrome Mobile 114 on Android
View result in a separate tab
Test name Executions per second
RegEx.test 4635068.0 Ops/sec
String.includes 11472750.0 Ops/sec
String.match 4001698.0 Ops/sec