sorry, did not see, that the question has already been answered :)

>             
> -------- Original-Nachricht --------
> Datum: Fri, 25 Jan 2013 11:40:00 +0100
> Von: "Markus Feindler" <markus.feind...@gmx.de>
> An: "Tapestry users" <users@tapestry.apache.org>
> Betreff: Re: How to log page on-load time & page size
> 
>             Hey,
> 
> I don't think this is technically possible on server side, since assets 
> are 
> retrieved via separate http requests and there is no way for tapestry to 
> determine which request belongs to what "page load".
> 
> >             
> > -------- Original-Nachricht --------
> > Datum: Fri, 25 Jan 2013 01:36:42 -0800 (PST)
> > Von: karthi <rathinasamy....@snovabits.net>
> > An: users@tapestry.apache.org
> > Betreff: How to log page on-load time & page size
> > 
> >             Hi,
> > 
> > I want to log each individual pages on-load time & page size:
> > 
> > I used pageAttached, Detached methods like below:
> > 
> > void pageAttached() {
> >             pageLoadStartupTime = System.currentTimeMillis();       
> >     }
> >     
> >     void pageDetached() {
> >             logger.info("Info: page on-load time: "
> > Util.getPageOnLoadTime(pageLoadStartupTime, 
> > System.currentTimeMillis())));
> >     }
> > 
> > public static long getPageOnLoadTime(long start, long end) {
> >             return end-start;
> >     }
> > 
> > This gives some 300ms - 400ms, 
> > However in the UI the same page in browser, I checked the page on-load 
> > time
> > using firebug option it shows 900ms
> > 
> > It reveals that firebug shows the images loading, js, css & other 
> > external
> > calls
> > 
> > Can anyone tell me is there anyway to log the on-load time like firebug
> > timing?
> > 
> > Regards,
> > Karthi.
> > 
> > 
> > 
> > --
> > View this message in context: 
> > 
> http://tapestry.1045711.n5.nabble.com/How-to-log-page-on-load-time-page-size-tp5719514.html
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> > 
> > 
>         
> 
        

Reply via email to