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

Latest run results:
Run details: (Test run date: 2 years 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 26094408.0 Ops/sec
String.match 13737024.0 Ops/sec
Multiple if Conditions 1040880896.0 Ops/sec