You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Chris P. McCabe" <ch...@choicehotels.com> on 2000/09/26 23:42:33 UTC

What happened to performance with Xalan-J 1.2 ?

I just upgraded from Xalan-J 1.1 to 1.2, and the performance of loading
a stylesheet has really gotten bad in a big way.
Below are some timings of generating pages from both versions.  The set
of numbers under 'uncompiled' includes the time it takes to parse the
stylesheet.  The set of numbers under 'precompiled' is with a pre-loaded
stylesheet.

Is there a known reason for the change in performance?  Is Xalan-2 going
to have similar characteristics?  I may need to preload all my
stylesheets when the servlet starts up if that is the case.  I don't
mind a longer stylesheet compile time if it gives me better performance
afterwards, but that isn't the case here.

         uncompiled      precompiled
------------------------------------
        v1.1   v1.2     v1.1   v1.2
------------------------------------
page1   1.1s   7.6s     1.0s   1.1s
page2   0.4s   2.3s     0.4s   0.4s
page3   1.0s   4.4s     1.1s   1.1s
page4   0.5s   3.5s     0.5s   0.5s
page5   0.7s   6.5s     0.6s   0.6s
page6   0.4s   8.4s     0.4s   0.4s


--
Chris P. McCabe  - Senior Software Systems Architect
Choice Hotels International - Information Technology
chris_mccabe@choicehotels.com