Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.115 Safari/537.36 OPR/88.0.4412.40
Opera 88
Linux
Desktop
one year ago
Test name Executions per second
regex start 559.8 Ops/sec
startsWith 1008.5 Ops/sec
regex end 381.4 Ops/sec
endsWith 844.6 Ops/sec
indexOf start 9412.2 Ops/sec
indexOf end 9292.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;