[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT 1 vs. 2 stylesheet performance issues

Subject: Re: XSLT 1 vs. 2 stylesheet performance issues
From: "Ilya Sterin" <sterini@xxxxxxxxx>
Date: Wed, 30 Jul 2008 13:27:43 -0400
Re:  XSLT 1 vs. 2 stylesheet performance issues
I'm not setting any keys.  Our xml structure is a cross reference
structure, but we haven't explicitly declared any keys.  But the same
is true when we run this through xslt 2.  Are you saying that xslt 1
was in need of explicit keys as opposed to xslt 2 processors?

Ilya

On Wed, Jul 30, 2008 at 1:04 PM, Scott Trenda <Scott.Trenda@xxxxxxxx> wrote:
> What sort of keys are you setting on your input data in XSLT 1.0? I've
> found that any sort of keys dramatically increase the startup time as
> your input document gets very large. I'd imagine it's because the
> processor has to wait to start the processing until it's been able to
> give a key value to every node in the document.
>
> ~ Scott
>
>
> -----Original Message-----
> From: Ilya Sterin [mailto:sterini@xxxxxxxxx]
> Sent: Wednesday, July 30, 2008 11:38 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  XSLT 1 vs. 2 stylesheet performance issues
>
> 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.
>
> Thanks.
>
> Ilya Sterin

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.