Performance: burn down the libxml2 gap #6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Status (2026-07-05)
Active. Recreated after the tracker loss; the original per-task breakdown is gone, and this epic carries the workstream.
bash scripts/benchmark.shbuilds PureXML and a C libxml2 driver over the same generated corpus with internal timing and a shared XPath cross-check, so every benchmark run doubles as a correctness check.docs/benchmarks.mdholds the live table (size series plus NASA ADC and SwissProt real corpora) and the findings only large corpora could surface, such as the quadratic document-order sort caught and fixed at 42 MB.The table updates as optimization passes land, never silently. Work items get filed as task issues against this epic as they are picked up.
Passes 25-28 landed (
docs/benchmarks.md): parse ~6.59x -> ~4.5-4.75x versus libxml2 on the 20000-item corpus, each pass verified against the full local suite and the full W3C XSTS run.Two structural findings from the same rounds, so the epic reflects where the remaining gap actually lives:
docs/benchmarks.mdso they are not redone. The cheap single-locus scanner wins appear exhausted; further parse progress likely needs either #8's decision or a deeper scanning-architecture change.