[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] XSLT 1 vs. 2 stylesheet performance issues
Subject: Re: [xsl] XSLT 1 vs. 2 stylesheet performance issues From: "Ilya Sterin" <sterini@xxxxxxxxx> Date: Wed, 30 Jul 2008 13:27:43 -0400 |
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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSLT 1 vs. 2 stylesheet p, Scott Trenda | Thread | Re: [xsl] XSLT 1 vs. 2 stylesheet p, Michael Ludwig |
RE: [xsl] XSLT 1 vs. 2 stylesheet p, Scott Trenda | Date | Re: [xsl] XSLT 1 vs. 2 stylesheet p, Michael Ludwig |
Month |