Re: [xslt] Profiling info



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/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]