Run details:
Mozilla/5.0 (Android 11; Mobile; rv:107.0) Gecko/107.0 Firefox/107.0
Firefox Mobile 107
Android
Mobile
one year ago
Test name Executions per second
regex start 94.4 Ops/sec
startsWith 245.3 Ops/sec
regex end 96.0 Ops/sec
endsWith 249.5 Ops/sec
indexOf start 2514.7 Ops/sec
indexOf end 2384.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;