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

RE: performance with XSLT

Subject: RE: performance with XSLT
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 9 Jan 2002 09:58:29 -0000
performance of xsl
> Can some one give me an idea about performance issues
> with XSLT? what are the best practices to achieve the
> good performance.

The best practices are the same as with any other technology:

- define your performance requirements
- prototype to assess the risk
- allow enough time on the project to acquire the skills
- make measurements at every stage of development
- don't optimize your code unless it works
- don't optimize your code unless it gives measurable benefits

Most of the advice for XSLT is also fairly obvious:

- cache compiled stylesheets rather than compiling them each time
- keep your source documents small
- don't do the same transformation more than once, save the results instead
- don't transform anything unless someone is going to use the result
- remember that XSLT is not the only tool in your kitbag

At the coding level:

- think carefully about anything that deviates from a serial pass through
the data
- use keys where direct access to nodes is needed (often suggested by "//")

Mike Kay

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.