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 453.9 Ops/sec
startsWith 941.3 Ops/sec
regex end 404.3 Ops/sec
endsWith 929.1 Ops/sec
indexOf start 6510.2 Ops/sec
indexOf end 5222.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;