Look at the bottom of the generated source.  It will spit out the processing
time automatically for you.  For example:

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



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 26, 2006 1:19 PM
To: users@tapestry.apache.org
Subject: Timing processing time of a page

Hi. I'm wondering if anyone has done any simple timing of the processing for
a page?

I've changed my border slightly so at the start it creates a Date, and at
the end creates another and determines the difference.

However, I think this only works out to be the render time of the page
itself, not the processing time to get all the information for that page
(eg. slow DB queries).

Maybe something like this would go in a Servlet method? I'm really unsure.

Anyone have any insight? This way I can work on tuning my application and
have some hard numbers to see if, on average, they are getting smaller or
not.

Thanks,
Greg

---------------------------------------------------------------------
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