Project

Profile

Help

Support #1379

closed

Performance problem with Saxon 8.3

Added by Anonymous about 19 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Internals
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Legacy ID:
sf-1164232
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

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

perf.zip (9.56 KB) perf.zip Anonymous, 2005-03-16 05:39

Please register to edit this issue

Also available in: Atom PDF