Run details:
Mozilla/5.0 (Linux; Android 5.1.1; SM-J320F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.136 Mobile Safari/537.36
Chrome Mobile 79
Android 5.1.1
Mobile
4 years ago
Test name Executions per second
Regex 27.6 Ops/sec
.indexOf 51.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Regex

  • .indexOf


;