Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0
Firefox 122
Linux
Desktop
9 months ago
Test name Executions per second
regex start 1001.9 Ops/sec
startsWith 633.8 Ops/sec
regex end 861.1 Ops/sec
endsWith 493.6 Ops/sec
indexOf start 16475.0 Ops/sec
indexOf end 16746.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;