Run details:
Mozilla/5.0 (Linux; Android 13; SM-G998B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36
Chrome Mobile 109
Android
Mobile
one year ago
Test name Executions per second
regex start 345.9 Ops/sec
startsWith 343.1 Ops/sec
regex end 309.6 Ops/sec
endsWith 331.8 Ops/sec
indexOf start 6212.0 Ops/sec
indexOf end 6182.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end