HTML Preparation code:
Script Preparation code:
Tests:
  • Regex

  • .indexOf

  • .startsWith

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Regex
    .indexOf
    .startsWith

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 years ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/16.2b14898 Mobile/15E148 Safari/605.1.15
Mobile Safari 12 on iOS 12.2
View result in a separate tab
Test name Executions per second
Regex 162.4 Ops/sec
.indexOf 103.4 Ops/sec
.startsWith 155.2 Ops/sec


;