Subject: Re: [xsl] Storing output tree in a variable and stripping|
Date: Wed, 20 Oct 2010 01:44:21 +0200
You can usually get useful data running from the command line provided you run for long enough to discount the effects of Java VM startup. Try setting -t and -repeat:100.
Michael Kay Saxonica
On 19/10/2010 21:08, hallo@xxxxxxxxxxxxx wrote:Hello Michael,
thanks for the answer.
I'm using the Saxon PE 126.96.36.199 processor. Are there any programs or tools (pref. Open Source) available which are able to measure the speed/performance of an XSLT-Stylesheet in a reliable manner or do I have to get out my old stopwatch? :-)
Michael Kay wrote:
Although this solution seems to me pretty elegant in comparison to (a) a separate stylesheet or (b) if-then structures which would only bloat the xslt-code , I'm not quite sure if this solution is a good idea regarding the performance of the stylesheet.
Measure it and see. With performance questions, if often depends on the detail. It also depends on the processor you are using.