cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@apache.org>
Subject RE: Performance of XSLTC
Date Thu, 11 Jul 2002 12:34:19 GMT
> From: TREGAN Fabien [mailto:Fabien.TREGAN@airbus.com] 
> 
> I have a pipeline with 1 generator, 1 castor (non cachable) 
> transformer, 2 xsl transformation and 1 xml serialization. I 
> tryed to run it with both xalan and xsltc, and the benefit 
> (mesured by JMeter with 5 and 50 concurrent
> threads) gave me a around 10% gain on the whole pipeline 
> (that is less than 15% for the transformation, since the xslt 
> transformer take nearly all the time).
> 
> Did you really have a 50% benefit ?


No, that was a theoretical number to help you conduct the
testing.  Also keep in mind that the more accurate and important
number is associated with the processing time on the server, so
that we don't have network affects in the number (not uncommon).

Also, keep in mind that expressing your XSLT differently to
do the same thing has a tremendous affect on the performance of
the stylesheet.  If your stylesheets are innefficient, you probably
won't see much of a difference between them.

The Cocoon log files will have the processing times (Log level INFO).
You can also append a parameter like this:

http://foo.com/myresource.html?show-time=true

That will append the processing time in a <p> tag.  If you use the
value "hide" it will append the processing time in an HTML comment.
Double-check the docs for the exact name of the show-time parameter.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message