On Tue, Oct 25, 2005 at 09:30:45PM +1000, Alexander Johannesen wrote:
> Hi,
> 
> I've searched through the libxslt website (finally up again! Yay!) for
> information about the profiling information without any luck. Could
> someone explain the value"Avg"; average something?

  that's how long running that given template usually take by invocation
i.e. Tot / Calls#

> Also, is there any performance penalty for asking for the profiler 
> information?

  use --timing for both and compare, for example

  /usr/bin/xsltproc --profile --timing -o ./result/xtchunk/html/gdp-handbook 
./html/xtchunk.xsl ./test/gdp-handbook.xml 2> res

  -> Running stylesheet and saving result took 597 ms

  /usr/bin/xsltproc  --timing -o ./result/xtchunk/html/gdp-handbook 
./html/xtchunk.xsl ./test/gdp-handbook.xml 2> res

  -> Running stylesheet and saving result took 588 ms

this should be fairly lightweight

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
http://mail.gnome.org/mailman/listinfo/xslt

Reply via email to