Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Chrome 115
Windows
Desktop
one year ago
Test name Executions per second
Lazy & good string 2738118.8 Ops/sec
Lazy & bad string 2685901.0 Ops/sec
Greedy & good string 2473575.2 Ops/sec
Greedy & bad string 2505284.2 Ops/sec
Script Preparation code:
Tests:
  • Lazy & good string

  • Lazy & bad string

  • Greedy & good string

  • Greedy & bad string


;