Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0
Firefox 118
Ubuntu
Desktop
one year ago
Test name Executions per second
regex start 312.8 Ops/sec
startsWith 248.6 Ops/sec
regex end 280.8 Ops/sec
endsWith 254.2 Ops/sec
indexOf start 6046.0 Ops/sec
indexOf end 6380.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;