Run details:
Mozilla/5.0 (Linux; Android 10; RMX1911) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.85 Mobile Safari/537.36
Chrome Mobile 94
Android
Mobile
2 years ago
Test name Executions per second
Regex 135.2 Ops/sec
.indexOf 264.7 Ops/sec
.includes 71.7 Ops/sec
.startsWith 97.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Regex

  • .indexOf

  • .includes

  • .startsWith


;