[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Performance with multiple users during transformat
I have a 250 KB XML to be transformed into another XMl I was about to ask the same questions.. :) Bhupendra: Running your processor as a servlet or in some other persistent form gives the opportunity to cache memory objects. Though 250Kb is not really big, it does take time to parse (read into memory). Actually, usually the number of times a document (XSL or XML) is being read is of bigger impact on the performance than the document size. So you want to prevent reading documents multiple times when once would be sufficient. By the way, I wouldn't be surprised if loading (and compiling) the stylesheet will prove to be slower than reading the 250K XML document.. Since Saxon is based on SAX parsing there should be no memory constrained (Also my 32 Gig RAM is never utilised more than 5GB at any time.) On the other hand, it does make a difference if you catch the result as SAX events and/or serialize it directly instead of first creating a DOM tree out of it. :) Though presumably not that much as saving the compiled stylesheet... G.
|
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
|