Run details:
Mozilla/5.0 (Android 13; Mobile; rv:131.0) Gecko/131.0 Firefox/131.0
Firefox Mobile 131
Android
Mobile
2 months ago
Test name Executions per second
regex start 156.6 Ops/sec
startsWith 291.7 Ops/sec
regex end 150.4 Ops/sec
endsWith 291.0 Ops/sec
indexOf start 2638.2 Ops/sec
indexOf end 2647.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end