Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Linux
Desktop
9 months ago
Test name Executions per second
regex start 318.9 Ops/sec
startsWith 629.6 Ops/sec
regex end 299.3 Ops/sec
endsWith 577.3 Ops/sec
indexOf start 4565.7 Ops/sec
indexOf end 4545.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;