[XSL-LIST Mailing List Archive Home]
Re: [xsl] How to speed up parsing ??
Subject: Re: [xsl] How to speed up parsing ??|
From: Mike Brown <mike@xxxxxxxx>
Date: Fri, 1 Aug 2003 10:14:03 -0600 (MDT)
Tengshe, Ashish wrote:
> This may not be relevant to you but I thought I'd just post these performance tips,
Very nice list there.
A few years ago, I benchmarked slight improvements in XML parsing speed and
memory overhead when I removed extraneous whitespace and comments from very
XSLT processors tend to keep the original stylesheet tree (before whitespace
stripping) in memory so that document('') will work, so anything you can do to
squeeze extra nodes out of that tree will free up some RAM. The stylesheets
probably won't run any faster, but their load time and memory consumption will
See http://skew.org/xml/stylesheets/condense/ for an example of a stylesheet
that I used to produce 'condensed' stylesheets.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list