Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Linux
Desktop
one month ago
Test name Executions per second
regex start 435.3 Ops/sec
startsWith 1019.3 Ops/sec
regex end 392.0 Ops/sec
endsWith 872.5 Ops/sec
indexOf start 11120.4 Ops/sec
indexOf end 10836.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end