views:

167

answers:

2

Hello,

we've got an application developed in java, with GWT providing the frontent. The application is used on a variety of hardware specifications, e.g. also on older machines. Of course users complain about performance.

We'd like to collect profiling data from real-world users. So far we can measure the pure server-side duration (that's easy) and the duration of the network roundtrip (not so easy, but we managed that).

The hardest part for us is measuring the time elapsed between "user clicking on search button" and "first xxx rows of grid have been displayed".

Any idea?

Thanks Holger

A: 

Try using SpeedTracer, it's a google chrome plugin developed by google itself

Chris Boesing
Hello,thanks for the hint, it's not about development, but about production workstations which are not under our control. We want to collect the data automatically for each client.Best regardsHolger
A: 

I would play around with creating a timestamp at the start of the page load and a timestamp at the end. I believe that "the beginning" would be "onModuleLoad" and the end would be after your last element/widget is added. I hope I have given you a good idea of where to start. You can play with moving these timestamps around to mazimize the time difference that you get. Once you feel confident that you are getting the rendering time, you can save the time difference in a database so that whenever anyone uses your page you get more user data.

prometheus