Run details:
Mozilla/5.0 (Android 11; Mobile; rv:84.0) Gecko/84.0 Firefox/84.0
Firefox Mobile 84
Android
Mobile
4 years ago
Test name Executions per second
regex start 210.9 Ops/sec
startsWith 345.7 Ops/sec
regex end 201.5 Ops/sec
endsWith 333.5 Ops/sec
indexOf start 253.2 Ops/sec
indexOf end 254.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;