I did this with a simple servlet filter, then profiled individual service
calls within the slower pages.

On Fri, Feb 10, 2012 at 7:03 PM, Chris Colman
<chr...@stepaheadsoftware.com>wrote:

> ** **
>
> I’m interested in measuring the time taken to render each individual page
> class and building up some stats to see if any are doing too much in the
> database and could benefit from data caching.****
>
> ** **
>
> Wicket seems to be customizable at many levels and so I was wondering if
> there is a hook point/plugin point for a listener style interface that
> gets called immediately after the mount path resolution has taken place
> (but before page class construction) and then again after the page
> rendering has completed.****
>
> ** **
>
> In the measurement I want to include:****
>
> - the time it takes to construct the page class (with parameters) as not
> all of my constructors have been migrated to onInitialize() and so some
> constructors are performing database lookups.****
>
> - the time it takes to perform the render after page class construction
> has completed. ****
>
>  ****
>
> If I can hook into these points with a page create/render listener (or
> something like that) then I can write a simple timer that tracks how long
> each page takes to render.****
>
> ** **
>
> Yours sincerely,****
>
> ** **
>
> Chris Colman****
>
>  ****
>
> Pagebloom Team Leader,****
>
> Step Ahead Software
>
> ****
>
> pagebloom - your business & your website growing together****
>
> ** **
>
> **Sydney**: (+61 2) 9656 1278     ****Canberra****: (+61 2) 6100 2120
> ****
>
> Email: chr...@stepahead.com.au <//chr...@stepahead.com.au>****
>
> Website:****
>
> http://www.pagebloom.com****
>
> http://develop.stepaheadsoftware.com****
>
>  ****
>
> ** **
>

Reply via email to