Run details:
Mozilla/5.0 (Android 10; Mobile; rv:89.0) Gecko/89.0 Firefox/89.0
Firefox Mobile 89
Android
Mobile
3 years ago
Test name Executions per second
regex start 100.5 Ops/sec
startsWith 171.5 Ops/sec
regex end 98.0 Ops/sec
endsWith 171.6 Ops/sec
indexOf start 120.1 Ops/sec
indexOf end 121.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;