Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
Chrome 96
Mac OS X 10.14.0
Desktop
2 years ago
Test name Executions per second
RegEx 2245811.8 Ops/sec
For Loop 535340.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegEx

  • For Loop