I also have noticed performance degration when using xsl:key for Xalan 1.9. But I had not the time to analyze the problem deeper for commiting this as an open issue.
HolgeR Yves Monier schrieb: > Hi everybody, > > I recently switched from xalan-c 1.4 (with xerces-c 2.1.0) to xalanc-c > 1.9 (xerces-c 2.6.0) for compatibility reasons with some of our > supported linux platforms. > No more compilation/link issues now with version 1.9 but it appears that > this version is MUCH slower than 1.4, at least with the xml & xsl files > I deal with... > > I also noticed which sounds like a new bug: the xsl:output > omit-xml-declaration attribute seems to be ignored. My xsl contains it > (value="yes") and xalan-c 1.4 transformation did not generate the xml > header, as expected, whereas version 1.9 still generates the header... > Anyway, I can leave this that. > > The performance issue is much more problematic. > I did some tests with different sizes for my xml file, using Xalan.exe > from the command line: > 92 kb xml: approx. 1.5s for xalan-c 1.9 (approx. 2s for version 1.4) > 491kb: 10s (3s for v1.4) > 937kb: 21s (4s) > 1128kb: 33s (4s) > 1505kb: 1m25s (4s) > ... > ... > 14655kb: 1h27m (22s) !!! > > The xsl uses two xsl:key for Muenchian grouping. Nothing especially > tricky, at least for other processors like xalan-c 1.4 and saxon... > I had a look to the xalan-c mailing list archive and open bugs but found > nothing on performance aspects... > > I attached my xsl and a subset of the xml file I use. > > Thanks in advance for any hint! > > Yves -- holger floerke d o c t r o n i c email [EMAIL PROTECTED] information publishing + retrieval phone +49 228 92 682 00 http://www.doctronic.de