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

Re: Optimizing XSLT iteration

Subject: Re: Optimizing XSLT iteration
From: "Sujata Gohad" <sgohad@xxxxxxx>
Date: Sun, 7 Oct 2007 16:07:07 -0700
Re:  Optimizing XSLT iteration
Hi David,

Thanks for your insights.

> I doubt there is much you can do within xslt, since your example program
> is essentially doing nothing other than iterating through the locus
> elements (and outputtig the string value if a few attributes) I wouldn't
> have been surprised if greater than 80% of the time is in that
> enumeration.


Does outputting the string value have any effect on the performance?
Is there any way to collectively read all the values and then output.
This might sound naive a question, but I am considering just about
every possibility. :-)


> externally to xslt there may be things you can do, saxon works with
> several different XML models, but some are faster than others so if your
> input is built by saxon to its native tiny tree model things may be
> faster than when you give saxon a DM.


I am dealing with documents that are 20-60MB in size and have a number
of sequences as shown in my example xml. As you can imagine, iterating
through those many takes huge amounts of time.

What would be the best way to attack the issue? Is there a good
reference/article on this topic?

I have tried using Saxon with TinyTree, Xalan, MSXML6 and Altova.

On a Intel Core Duo with 2Gig memory, Saxon, Xalan would run out of heap space.

Altova could handle files only upto 40MB.

MSXML successfully dealt with all file sizes, but the 60MB file took
over 25 minutes to transform.

Saxon, for the file sizes it could do, it was at least 1.2-1.3 times
faster than MSXML.


>
> So if speed is an issue, you may want to look to how your input tree is
> built...
>

More hints in this area would be appreciated.


Many thanks,
- Sujata

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.