Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/111.0
Firefox 111
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
regex start 256.5 Ops/sec
startsWith 447.5 Ops/sec
regex end 245.3 Ops/sec
endsWith 440.8 Ops/sec
indexOf start 4578.2 Ops/sec
indexOf end 5346.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;