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: 8 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115 on Linux
View result in a separate tab
Test name Executions per second
regex start 1020.6 Ops/sec
startsWith 676.8 Ops/sec
regex end 831.9 Ops/sec
endsWith 676.9 Ops/sec
indexOf start 19190.4 Ops/sec
indexOf end 19044.4 Ops/sec
slice start equals 4615.4 Ops/sec
substring 4575.3 Ops/sec


;