[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: measuring performance of XSLT stylesheet
a kusa wrote: Hi, > Additionally, are there any particular tags that I must be > avoiding to improve performance? I know using "//" is not > advisable. This is an interesting one. Actually, using //elem instead of /root/elem1/elem2/elem is more efficient on (at least one) XML database (out of any context, the semantics is not the same, right, but that's an advice I am used to hear, which is not always true.) You can try to find out why, and you can argue that this is because of XQuery taking advantage of the indexing of the XML database, which is not available to the XSLT 2.0 processor in top of this XML database (but I bet this won't be true for a long time.) But the point is that no such rule about efficiency is absolute, and as Mike said, only measurement in "real" situations can give you some clues about optimization opportunities. Hope that helps. Regards, -- Florent Georges http://www.fgeorges.org/
|
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
|