Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123
Linux
Desktop
8 months ago
Test name Executions per second
RegEx 915357.6 Ops/sec
For Loop 737452.9 Ops/sec
RegEx pre-compiled 1735809.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegEx

  • For Loop

  • RegEx pre-compiled