Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36
Chrome Mobile 126
Android
Mobile
4 months ago
Test name Executions per second
regex start 103.2 Ops/sec
startsWith 346.9 Ops/sec
regex end 97.4 Ops/sec
endsWith 345.8 Ops/sec
indexOf start 1064.5 Ops/sec
indexOf end 937.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;