Run details:
Mozilla/5.0 (Android 11; Mobile; rv:103.0) Gecko/103.0 Firefox/103.0
Firefox Mobile 103
Android
Mobile
2 years ago
Test name Executions per second
regex start 166.0 Ops/sec
startsWith 278.1 Ops/sec
regex end 165.6 Ops/sec
endsWith 272.9 Ops/sec
indexOf start 219.0 Ops/sec
indexOf end 205.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;