Run details:
Mozilla/5.0 (Linux; Android 11; M2102J20SG) 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 316.5 Ops/sec
startsWith 316.8 Ops/sec
regex end 303.7 Ops/sec
endsWith 318.2 Ops/sec
indexOf start 5393.2 Ops/sec
indexOf end 5400.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end