This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xalan performance
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: xalan performance
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 14 Nov 2000 09:42:38 -0000
- Reply-To: xsl-list at mulberrytech dot com
> 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