Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Chrome 108
Windows 7
Desktop
one year ago
Test name Executions per second
Lazy & good string 1884948.5 Ops/sec
Lazy & bad string 1849234.1 Ops/sec
Greedy & good string 1689890.2 Ops/sec
Greedy & bad string 1707247.1 Ops/sec
Script Preparation code:
Tests:
  • Lazy & good string

  • Lazy & bad string

  • Greedy & good string

  • Greedy & bad string


;