Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
Betterparse type 1 83973.9 Ops/sec
Betterparse type 2 84801.5 Ops/sec
Standard parsing (incorrect) 102073.0 Ops/sec
Standard parsing 2 (incorrect) 115648.0 Ops/sec
Betterparse type 3 84704.6 Ops/sec
Script Preparation code:
Tests:
  • Betterparse type 1

  • Betterparse type 2

  • Standard parsing (incorrect)

  • Standard parsing 2 (incorrect)

  • Betterparse type 3