Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Windows
Desktop
one year ago
Test name Executions per second
RegEx 1189847.0 Ops/sec
For Loop 1685397.2 Ops/sec
RegEx pre-compiled 4661418.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegEx

  • For Loop

  • RegEx pre-compiled