Skip to content

v0.5.152

Choose a tag to compare

@github-actions github-actions released this 22 Oct 05:18
· 204 commits to main since this release

What's Changed

  • leptris: the bulk-rows xpath lane, the columnar children walk, and the builder hot path by @ronaldtse in #436

Full Changelog: v0.5.151...v0.5.152

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.380.2 on Ruby 3.3.12; 9 repetitions.

Row Ratio Kind Status
parse 3.98x parity met
serialize 1.75x parity met
xpath //field (count) 3.23x structural tracked (below parity)
xpath //field (each) 0.45x structural tracked (below parity)
attr pairs listing 8.21x parity met
build add_element 0.61x structural tracked (below parity)
walk+read (warm) 0.80x structural tracked (below parity)
walk+read (cold) 0.15x structural tracked (below parity)
children recursion (cold) 0.11x structural tracked (below parity)
plan records (typed) 1.16x 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.