Run details:
Mozilla/5.0 (Android 12; Mobile; rv:109.0) Gecko/109.0 Firefox/109.0
Firefox Mobile 109
Android
Mobile
one year ago
Test name Executions per second
regex start 167.6 Ops/sec
startsWith 420.7 Ops/sec
regex end 162.8 Ops/sec
endsWith 421.4 Ops/sec
indexOf start 4686.5 Ops/sec
indexOf end 4933.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end