Run details:
Mozilla/5.0 (Linux; Android 8.0.0; LG-H873) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Mobile Safari/537.36
Chrome Mobile 87
Android 8.0.0
Mobile
3 years ago
Test name Executions per second
Regex 138.5 Ops/sec
.indexOf 573.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Regex

  • .indexOf


;