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

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end

  • slice start equals

  • slice end equals

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
    slice start equals
    slice end equals

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36 Edg/141.0.0.0
Chrome 141 on Windows
View result in a separate tab
Test name Executions per second
regex start 647.8 Ops/sec
startsWith 1371.9 Ops/sec
regex end 582.1 Ops/sec
endsWith 1378.4 Ops/sec
indexOf start 15233.9 Ops/sec
indexOf end 15436.2 Ops/sec
slice start equals 1056.5 Ops/sec
slice end equals 1086.3 Ops/sec