[xsl] XSLT 1 vs. 2 stylesheet performance issues

Subject: [xsl] XSLT 1 vs. 2 stylesheet performance issues
From: "Ilya Sterin" <sterini@xxxxxxxxx>
Date: Wed, 30 Jul 2008 12:37:38 -0400
I'm a bit stumped by the performance issues we're having.  We have an
xslt 1 compliant stylesheet that takes 10 minutes to run in xslt 1
processors (Saxon, Xalan, libxslt) and a few seconds in Saxon 9B.  I'm
not sure what it can possibly be.

We don't use anything out of the ordinary, we extensively use
for-each, choose, and if.  But again, I'm not sure why it would take
so much longer using an xslt 1 processor.  We need to utilize xslt 1
processor for various reasons if possible.

The processor seems to take most of the time in starting the
transformation.  Using oxygen, the debugger says Starting
transformation and stays there for about 10 minutes before
transforming in a matter of seconds.  The same is true with using any
of these processors in command line mode.

Is there some performance documents available anywhere that outline
how xslt 1 gets compiled and it's efficiencies/inefficiencies, how
things are indexed, etc....?  I searched the web with no luck.


Ilya Sterin

Current Thread