Tests:
  • String.includes

  • String.match

  • Multiple if Conditions

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    String.includes
    String.match
    Multiple if Conditions

    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: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.143 YaBrowser/22.5.0.1883 Yowser/2.5 Safari/537.36
Yandex Browser 22 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
String.includes 26094410.0 Ops/sec
String.match 13737020.0 Ops/sec
Multiple if Conditions 1040881000.0 Ops/sec