HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    RegExp#test
    String#indexOf
    String#match

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 11 days ago)
Mozilla/5.0 (Linux; Android 10; Mi A2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Mobile Safari/537.36
Chrome Mobile 84 on Android
View result in a separate tab
Test name Executions per second
RegExp#test 11885400.0 Ops/sec
String#indexOf 410352400.0 Ops/sec
String#match 6641685.0 Ops/sec

Recommended literature: