This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: xalan performance


> I'm using Xalan 1.2, and I'm having quite severe performance 
> problems in a
> web based application that I have built.  My XML stream takes about 3
> seconds to create, but then actually applying XSL to the XML 
> to generate HTML is taking a further 10-13 seconds.

How big is the XML file, and how are you writing it? Transforming an XML
file in 3-4 times the time it takes to write it seems a reasonable ratio.

You might save a little bit by passing the XML from your application to the
XSLT processor as a stream of SAX events rather than as a source XML file.

With Java processors, the start-up overhead of loading the Java VM and
application classes can be quite high: if you are doing repeated
transformations, make sure you don't incur this for each one. 

Mike Kay 


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]