Run details:
Mozilla/5.0 (Linux; Android 9; ONEPLUS A6000) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Mobile Safari/537.36
Chrome Mobile 72
Android
Mobile
5 years ago
Test name Executions per second
Regex 252.2 Ops/sec
.indexOf 532.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Regex

  • .indexOf


;