Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/64.0.3282.167 Chrome/64.0.3282.167 Safari/537.36
Chromium 64
Ubuntu
Desktop
6 years ago
Test name Executions per second
Regex 147.5 Ops/sec
.indexOf 61.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Regex

  • .indexOf


;