Run details:
Mozilla/5.0 (Linux; Android 6.0.1; Andromax A16C3H Build/M4B30X; en-us) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36 Puffin/7.8.3.40913AP
Puffin 7
Android 6.0.1
Mobile
4 years ago
Test name Executions per second
regex start 386.7 Ops/sec
startsWith 204.7 Ops/sec
regex end 345.5 Ops/sec
endsWith 212.8 Ops/sec
indexOf start 771.3 Ops/sec
indexOf end 170.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex start

  • startsWith

  • regex end

  • endsWith

  • indexOf start

  • indexOf end