Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15
Safari 16
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
Betterparse type 1 45020.8 Ops/sec
Betterparse type 2 45362.1 Ops/sec
Standard parsing (incorrect) 85744.7 Ops/sec
Standard parsing 2 (incorrect) 88973.6 Ops/sec
Betterparse type 3 44638.7 Ops/sec
Script Preparation code:
Tests:
  • Betterparse type 1

  • Betterparse type 2

  • Standard parsing (incorrect)

  • Standard parsing 2 (incorrect)

  • Betterparse type 3