Run details:
Mozilla/5.0 (Linux; Android 12; EB2103) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
one year ago
Test name Executions per second
regex start 299.9 Ops/sec
startsWith 232.5 Ops/sec
regex end 265.3 Ops/sec
endsWith 284.6 Ops/sec
indexOf start 3505.8 Ops/sec
indexOf end 3175.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;