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 484.7 Ops/sec
startsWith 398.2 Ops/sec
regex end 451.3 Ops/sec
endsWith 398.5 Ops/sec
indexOf start 13204.3 Ops/sec
indexOf end 13132.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;