You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Steve Swinsburg <s....@lancaster.ac.uk> on 2009/06/12 12:04:26 UTC
page load timer
Hi all,
I vaguely remember seeing a component or setting that times how long
it takes to completely render a page then outputs the result in a
Label, can someone point me in the right direction?
Or is it as simple as just setting the start time in my BasePage, then
checking again at the end of the page in question? (I wouldn't think
that would be exact though as other Wickety things might occur after
the components on my page have been constructed.)
thanks,
Steve
Re: page load timer
Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Hi!
Here is a heavier Jamon example, but you can see how it is done:
* http://blog.xebia.com/2008/02/02/monitor-wicket-page-request-using-jamon/
**
Martin
2009/6/12 Steve Swinsburg <s....@lancaster.ac.uk>:
>
> Hi all,
>
> I vaguely remember seeing a component or setting that times how long it
> takes to completely render a page then outputs the result in a Label, can
> someone point me in the right direction?
>
> Or is it as simple as just setting the start time in my BasePage, then
> checking again at the end of the page in question? (I wouldn't think that
> would be exact though as other Wickety things might occur after the
> components on my page have been constructed.)
>
>
> thanks,
> Steve
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: page load timer
Posted by Adrian Merrall <pi...@gmail.com>.
Milliseconds according to WIA
Cheers,
Adrian
On 6/13/09, Igor Vaynberg <ig...@gmail.com> wrote:
> dont remember offhand, look in the source.
>
> -igor
>
> On Fri, Jun 12, 2009 at 9:29 AM, Steve
> Swinsburg<s....@lancaster.ac.uk> wrote:
>> Thats the one I was after. A question though, what units are the
>> measurements displayed in? time/totaltime in milliseconds, session size in
>> bytes?
>>
>> thanks,
>> Steve
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: page load timer
Posted by Igor Vaynberg <ig...@gmail.com>.
dont remember offhand, look in the source.
-igor
On Fri, Jun 12, 2009 at 9:29 AM, Steve
Swinsburg<s....@lancaster.ac.uk> wrote:
> Thats the one I was after. A question though, what units are the
> measurements displayed in? time/totaltime in milliseconds, session size in
> bytes?
>
> thanks,
> Steve
>
> On 12 Jun 2009, at 16:54, Igor Vaynberg wrote:
>
>> getRequestLoggerSettings().setRequestLoggerEnabled(true);
>>
>> -igor
>>
>> On Fri, Jun 12, 2009 at 3:04 AM, Steve
>> Swinsburg<s....@lancaster.ac.uk> wrote:
>>>
>>> Hi all,
>>>
>>> I vaguely remember seeing a component or setting that times how long it
>>> takes to completely render a page then outputs the result in a Label, can
>>> someone point me in the right direction?
>>>
>>> Or is it as simple as just setting the start time in my BasePage, then
>>> checking again at the end of the page in question? (I wouldn't think that
>>> would be exact though as other Wickety things might occur after the
>>> components on my page have been constructed.)
>>>
>>>
>>> thanks,
>>> Steve
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: page load timer
Posted by Steve Swinsburg <s....@lancaster.ac.uk>.
Thats the one I was after. A question though, what units are the
measurements displayed in? time/totaltime in milliseconds, session
size in bytes?
thanks,
Steve
On 12 Jun 2009, at 16:54, Igor Vaynberg wrote:
> getRequestLoggerSettings().setRequestLoggerEnabled(true);
>
> -igor
>
> On Fri, Jun 12, 2009 at 3:04 AM, Steve
> Swinsburg<s....@lancaster.ac.uk> wrote:
>>
>> Hi all,
>>
>> I vaguely remember seeing a component or setting that times how
>> long it
>> takes to completely render a page then outputs the result in a
>> Label, can
>> someone point me in the right direction?
>>
>> Or is it as simple as just setting the start time in my BasePage,
>> then
>> checking again at the end of the page in question? (I wouldn't
>> think that
>> would be exact though as other Wickety things might occur after the
>> components on my page have been constructed.)
>>
>>
>> thanks,
>> Steve
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
Re: page load timer
Posted by Igor Vaynberg <ig...@gmail.com>.
getRequestLoggerSettings().setRequestLoggerEnabled(true);
-igor
On Fri, Jun 12, 2009 at 3:04 AM, Steve
Swinsburg<s....@lancaster.ac.uk> wrote:
>
> Hi all,
>
> I vaguely remember seeing a component or setting that times how long it
> takes to completely render a page then outputs the result in a Label, can
> someone point me in the right direction?
>
> Or is it as simple as just setting the start time in my BasePage, then
> checking again at the end of the page in question? (I wouldn't think that
> would be exact though as other Wickety things might occur after the
> components on my page have been constructed.)
>
>
> thanks,
> Steve
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org