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

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end

  • slice start equals

  • substring

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
    substring

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131 on Windows
View result in a separate tab
Test name Executions per second
regex start 274.7 Ops/sec
startsWith 712.7 Ops/sec
regex end 238.5 Ops/sec
endsWith 686.8 Ops/sec
indexOf start 4627.9 Ops/sec
indexOf end 4559.7 Ops/sec
slice start equals 422.7 Ops/sec
substring 4120.5 Ops/sec