Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36
Chrome Mobile 120
Android
Mobile
10 months ago
Test name Executions per second
regex start 358.0 Ops/sec
startsWith 851.1 Ops/sec
regex end 328.5 Ops/sec
endsWith 872.3 Ops/sec
indexOf start 6982.7 Ops/sec
indexOf end 7330.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;