Test pygixml to see if it provides significant performance boost over lxml #30

Closed
opened 2026-04-17 16:47:40 +00:00 by adamwill · 1 comment
Owner

While fiddling with XML parser options I came across pygixml, a wrapper for pugixml. There's also pugixml-python but I think I like pygixml's interface a bit more.

It's worth taking a bit of time to port the XML parsing to pygixml and see if it's significantly faster than lxml, I think. (It seems like it's also less picky about namespaces, which on the one hand is slightly worrying but on the other hand sure is more convenient). lxml is more mature and established, though, so I should also take that into consideration.

While fiddling with XML parser options I came across [pygixml](https://github.com/MohammadRaziei/pygixml), a wrapper for [pugixml](https://pugixml.org/). There's also [pugixml-python](https://github.com/miute/pugixml-python) but I think I like pygixml's interface a bit more. It's worth taking a bit of time to port the XML parsing to pygixml and see if it's significantly faster than lxml, I think. (It seems like it's also less picky about namespaces, which on the one hand is slightly worrying but on the other hand sure is more convenient). lxml is more mature and established, though, so I should also take that into consideration.
Author
Owner

Probably not necessary with #32 . Closing, will reopen if problems emerge with #32 approach.

Probably not necessary with #32 . Closing, will reopen if problems emerge with #32 approach.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
quality/rmdepcheck#30
No description provided.