Performance tuning rules of thumb
Just out of curiosity, I have seen many times rules of thumb of how to tune a stylesheet, similar to below. Is there any site which has collected these rules in one place? -----Original Message----- From: Michael Kay [mailto:mike@xxxxxxxxxxxx] Sent: Thursday, October 28, 2004 10:59 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx; kjones@xxxxxxxxxxx Subject: RE: Performance degraded with grouping and sorting. It's always worth trying it on a different processor. Sometimes there can be considerable differences, and sometimes a particular construct will perform badly on one processor and well on another. Sometimes Saxon runs ten times faster than Xalan - but by no means always. Also try running your stylesheet with different volumes of data and seeing how the performance scales. You need to look out for anything that's causing quadratic performance (double the size, four times the time) - often caused by constructs such as //x within a loop, or preceding::x. Michael Kay http://www.saxonica.com/ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format