Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Ubuntu
Desktop
one year ago
Test name Executions per second
regex start 429.6 Ops/sec
startsWith 583.2 Ops/sec
regex end 402.3 Ops/sec
endsWith 588.9 Ops/sec
indexOf start 12889.9 Ops/sec
indexOf end 13426.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;