Repository navigation
v0.5.161
What's Changed
- perf(build): add_element via the one-crossing construction face by @ronaldtse in #459
Full Changelog: v0.5.160...v0.5.161
Performance scoreboard
CPU-time medians of an interleaved A/B run against raw nokogiri on the same document (ratio > 1.0 means moxml is faster). Pair: moxml + leptris 1.9.381.0 on Ruby 3.3.13; 9 repetitions.
| Row | Ratio | Kind | Status |
|---|---|---|---|
parse |
4.61x | parity | met |
serialize |
1.65x | parity | met |
xpath //field (count) |
3.39x | parity | met |
xpath //field (each) |
0.34x | structural | tracked (below parity) |
attr pairs listing |
8.48x | parity | met |
build add_element |
0.74x | structural | tracked (below parity) |
walk+read (warm) |
0.54x | structural | tracked (below parity) |
walk+read (cold) |
0.37x | structural | tracked (below parity), paused: leptris-ruby#527 (1.9.380 crossing regression) |
children recursion (cold) |
0.45x | structural | tracked (below parity), paused: leptris-ruby#527 (1.9.380 crossing regression) |
plan records (typed) |
1.13x | data | informational |
Parity rows are the commitment (0.95 measurement floor); structural rows are tracked (10% regression tolerance) with their gaps documented in benchmark/README.md.