Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Linux
Desktop
one year ago
Test name Executions per second
regex start 277.1 Ops/sec
startsWith 403.9 Ops/sec
regex end 262.2 Ops/sec
endsWith 407.1 Ops/sec
indexOf start 8294.1 Ops/sec
indexOf end 8426.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;