HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end

  • includes

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    regex start
    startsWith
    regex end
    endsWith
    indexOf start
    indexOf end
    includes

    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 (Linux; Android 11; Redmi Note 9 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
Chrome Mobile 104 on Android
View result in a separate tab
Test name Executions per second
regex start 222.6 Ops/sec
startsWith 209.4 Ops/sec
regex end 214.2 Ops/sec
endsWith 208.1 Ops/sec
indexOf start 2763.3 Ops/sec
indexOf end 2802.9 Ops/sec
includes 2807.5 Ops/sec