xsl-list
[Top] [All Lists]

Re: [xsl] Storing output tree in a variable and stripping

2010-10-19 15:41:40
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(_at_)meinbrodt(_dot_)net wrote:
Hello Michael,

thanks for the answer.

I'm using the Saxon PE 9.2.0.2 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? :-)

Regards, Matthias

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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--