Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Ubuntu
Desktop
one year ago
Test name Executions per second
regex start 404.8 Ops/sec
startsWith 550.3 Ops/sec
regex end 386.7 Ops/sec
endsWith 546.5 Ops/sec
indexOf start 13785.8 Ops/sec
indexOf end 13681.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end