Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Mobile Safari/537.36
Chrome Mobile 116
Android
Mobile
one year ago
Test name Executions per second
regex start 251.6 Ops/sec
startsWith 575.9 Ops/sec
regex end 240.6 Ops/sec
endsWith 570.6 Ops/sec
indexOf start 3655.2 Ops/sec
indexOf end 3740.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end


;