Keep in mind that the @Shell measurement only measures how long it took to 
render that component and its body.  Anything that happens in request cycle 
listeners (pageBeginRenderListener, for instance), or outside the Shell, is not 
measured.  Also, if a page doesn't use the shell (such as an XML response) you 
won't get timing.
 
We do a bunch of setup in the pageBeginRenderListener, so I ended up building a 
Servlet Filter that keeps track of the time, and injects a comment into the end 
of the resulting HTML (or XML) with the timing.  
 
jeff

________________________________

From: Detlef Schulze [mailto:[EMAIL PROTECTED]
Sent: Sun 1/22/2006 8:51 AM
To: Tapestry users
Subject: RE: Page render statistics



... tap 3 does it as well :-)))

I should have checked the generated html source ...


Thanks a lot !!!


-----Original Message-----
From: Dmitry Gusev [mailto:[EMAIL PROTECTED]
Sent: 22 January 2006 17:35
To: Tapestry users
Subject: Re: Page render statistics

Not sure about tap 3, but T4 has a @Shell component that measures page
render time and print it out to response as a comment like this:

<!-- Render time: ~ 32 ms -->



2006/1/22, Detlef Schulze <[EMAIL PROTECTED]>:
>
> Hi,
>
> I am absolutely sure that someone has done this before:
>
> I am about to optimize the performance of one of my websites. This is
> mostly database related stuff.
>
> Since it is one of the first rules of optimization to make it possible
> to measure the performance, I need a way to measure the complete page
> render time, the time from when the request gets in to the point when
> the whole page is rendered.
>
> How would I do that? Is there some method which already does this? The
> site runs tap 3 ...
>
>
> Cheers,
> detlef
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to