[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: performance with XSLT
> 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
|
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
|