Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:75.0) Gecko/20100101 Firefox/75.0
Firefox 75
Mac OS X 10.14
Desktop
4 years ago
Test name Executions per second
Regex 420.9 Ops/sec
.indexOf 272.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Regex

  • .indexOf


;