xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "srguard2000-general@yahoo.co.uk (JIRA)" <xalan-...@xml.apache.org>
Subject [jira] Created: (XALANC-593) Poor performance with a complex XSL stylesheet and large XML file
Date Thu, 22 Dec 2005 11:55:30 GMT
Poor performance with a complex XSL stylesheet and large XML file
-----------------------------------------------------------------

         Key: XALANC-593
         URL: http://issues.apache.org/jira/browse/XALANC-593
     Project: XalanC
        Type: Bug
  Components: XalanC  
    Versions: 1.9, 1.10    
 Environment: Platform: Windows XP Professional
Processor: 2GHz
RAM: 1Gb
    Reporter: srguard2000-general@yahoo.co.uk


Xalan is performing poorly for a complex  XSL transform on a large XML file.

I have the details below, and I am attaching files for XML input and the XSL files.

There are 2 problems - one is that a 1.5MB XML file takes about 2 minutes to be transformed.
This could be solved by changing the XSL? - any suggestions welcome!

The second problem is that the performance does not 'scale'  with the size of the XML input
- I took the same XML file and halved the size, and the performance more than doubled.  
So it looks like performance worsens with the size of the XML input.

Performance in 1_10 is slightly worse than 1_9.

===============================
Xalan-C_1_9_0-win32-msvc_60
Xalan -t:
1.5MB XML:
Source tree parsing time: 340.398336 milliseconds.
Stylesheet compilation time: 133.1826288 milliseconds.
Transformation time: 119932.1820512 milliseconds.

733Kb XML:
Source tree parsing time: 158.737142 milliseconds.
Stylesheet compilation time: 67.1794638 milliseconds.
Transformation time: 36380.30150 milliseconds.
===============================
1.5MB XML:
Xalan-C_1_10_0-win32-msvc_60
Xalan -t:
Source tree parsing time: 255.852040 milliseconds.
Stylesheet compilation time: 68.236948 milliseconds.
Transformation time: 134556.299906 milliseconds.

733Kb XML:
Source tree parsing time: 142.380952 milliseconds.
Stylesheet compilation time: 68.1692120 milliseconds.
Transformation time: 41232.867330 milliseconds.
===============================


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Mime
View raw message