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] Commented: (XALANC-593) Poor performance with a complex XSL stylesheet and large XML file
Date Thu, 22 Dec 2005 12:24:30 GMT
    [ http://issues.apache.org/jira/browse/XALANC-593?page=comments#action_12361103 ] 

srguard2000-general@yahoo.co.uk commented on XALANC-593:
--------------------------------------------------------

I had to change the XML source before posting it (as it had personal data), so here are the
times again:
The times are now worse which suggests to me that part of the problem is processing the XSL
which checks for identical 'Surname' (all of the 'Surname' nodes are now identical).

===============================
Xalan-C_1_9_0-win32-msvc_60
Xalan -t:
1.5MB XML:
Source tree parsing time: 279.1528912 milliseconds.
Stylesheet compilation time: 68.690800 milliseconds.
Transformation time: 155716.1899182 milliseconds.

740Kb XML:
Source tree parsing time: 160.802180 milliseconds.
Stylesheet compilation time: 68.1026556 milliseconds.
Transformation time: 51133.806092 milliseconds.
===============================
Xalan-C_1_10_0-win32-msvc_60
Xalan -t:
1.5MB XML:
Source tree parsing time: 252.1725864 milliseconds.
Stylesheet compilation time: 67.1666704 milliseconds.
Transformation time: 172020.464094 milliseconds.

740Kb XML:
Source tree parsing time: 142.1931874 milliseconds.
Stylesheet compilation time: 68.1234694 milliseconds.
Transformation time: 55857.444942 milliseconds.
=============================== 

> 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
>  Attachments: SchoolCensus06-ErrorList-v1.4.xsl, SchoolCensus06-ValidationRules-v1.4.xsl,
TEMP_XI_Y1219154918.xml, TEMP_XI_Y1219154918_halved.xml
>
> 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