Support #1379
closedPerformance problem with Saxon 8.3
0%
Description
SourceForge user: dpirkle
In upgrading from Saxon 7.3.1 to 8.3, I noticed that
some of our stylesheets were running significantly
slower with the new version. I've attached some
doctored XSLT and XML files that demonstrate this.
When I run the stylesheet named perf1.xsl using the
7.3.1 version of Saxon, it takes about 0.8 seconds to do
the transformation of perf.xml on my computer. Using
the 8.3 version with the same stylesheet and data, the
transformation takes about 10.2 seconds. It appears
that the evaluation of the xpath expression on line 23
accounts for most of this time. I also noticed that with
Saxon 8.3, if I use saxon:evaluate to evaluate the xpath
expression, the performance improves significantly from
10.2 to 1.5 seconds. You can see this by running the
stylesheet perf2.xsl. All the files are in the attached zip
file.
Files
Please register to edit this issue