|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: [xslt performance for big xml files]
> 1> On splitting my 30 MB to 60 splits, I was able to get a massive > speed up. Overall transformation happening under 3 min. > 2> Did some code level optimization (standard ones, avoiding non > essential computations.). Got a massive improvement here too. > Tried to avoid call-templates where ever possible. Replaced > my loops with apply-templates. eliminated usage of // totally. I think there's a flaw in the logic here. Your problem is not one of insufficient memory, so you don't need to split the file for memory reasons. The fact that it is possible to do the transformation "one subtree at a time", proves that the logic is essentially linear, and it should therefore be possible to do it in linear time without splitting the file into subtrees. You don't need to do the splitting, you only need to fix the part of your code that is making the performance non-linear. Michael Kay http://www.saxonica.com/
|
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
|

![RE: [xslt performance for big xml files]](/images/get_stylus.gif)




