HTML Preparation code:
Script Preparation code:
Tests:
  • startsWith

  • match

  • indexOf

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    startsWith
    match
    indexOf

    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: 13 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36
Chrome 86 on Mac OS X 10.15.6
View result in a separate tab
Test name Executions per second
startsWith 11.3 Ops/sec
match 117.1 Ops/sec
indexOf 24.2 Ops/sec

Recommended literature: