Re: [xslt] xsltproc --profile



On Fri, Nov 04, 2005 at 02:49:50PM +0100, Veronique Aubert wrote:
> But, I don't know how to interpret the results related to the 
> "--profile" option.
> For example, if we consider the first line :      0                 
> UNIT                                11657 25840027   2216
> What do "name      mode  Calls Tot 100us Avg" mean?
> What do the numbers "11657", "25840027", "2216" correspond to?
[...]
> number               match                name      mode  Calls Tot 
> 100us Avg
> 
>    0                 UNIT                                11657 
> 25840027   2216

   You have a template for UNIT. It was called 11657 times, for a total
cost of 25840027 microseconds, and hence an average of 2216 microsecond
per call to the template (25840027 / 11657 equal 2216).
   You spent 25 seconds just in that template over the course of your
transformation, obviously there is something way too expensive in its code.

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]