GNOME Bugzilla – Bug 303659
Recursive templates optimization
Last modified: 2021-07-05 11:00:40 UTC
Distribution/Version: Ubuntu/hoary XSLT transformations making massive use of recursive templates show response times that can be 10+ times slower than Java implementations such as Saxon. This has been reported on the xml-tech@xmlfr.org mailing list where you'll find the details and a repro case (see for instance http://xmlfr.org/listes/xml-tech/2005/05/0058.html and associated messages). Thanks, Eric
True, Libxslt needs too much time to process this scenario. I didn't look into the example-stylesheet of this issue, but since Libxslt is not optimized wrt tail-recursive templates, we should try to optimize this first and see if it helps.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/libxslt/-/issues/ Thank you for your understanding and your help.