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

Re: How to make this script faster

Subject: Re: How to make this script faster
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Fri, 16 Nov 2007 08:00:15 +0100
Re:  How to make this script faster
Michael Kay wrote:
But that's not a performance issue, and nor are most of the points Abel
made; and I have to say I couldn't see anything at all here that should
cause performance problems.

Not even the recursion? I sometimes find myself in the situation that recursion with only 20 levels deep can cause a lot of performance problems (at other times, this figure can be > 500 without causing performance issues at all). Especially with double recursion (fibonacci-like), but that's not the case here... I'd think that when the $section-paragragraphs is rather lengthy, the recursion becomes rather deep ....


Hmm, come to think of it, Matthieu, are you sure that the performance problem is in the XSLT process? Or is the output read by an XML processor of some kind that may choke on large input (or is the input fed to the XSLT processor from a DOM object, which can be rather mem and perf consuming)? Or do you catch the xsl:message messages with some messagelistener you wrote yourself (and perhaps does something more than only logging?).

In other words: can you run the stylesheet as bare as possible (i/o on local disk) and do you then still have the problems?

Cheers,
-- Abel

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-2013 All Rights Reserved.