Client Time performance tuning using Glimpse

466 views Asked by At

I am using Glimpse 1.8.6 in an ASP.net Web Forms application in VS2013 deployed to an Azure Website (standard tier). I have a user control embedded in an aspx page, my question is about the specific timings in the Requests section.

I am typically seeing 3000-4000ms Request times, 5-25ms Wire, 500-1000ms Server and 2000+ Client. Additionally load is about 500-700ms and render is sub 100ms.

The "Client" portion is my question, what exactly is used to calculate client and more importantly where should I be looking in my code to decrease that number?

1

There are 1 answers

0
anthonyv On BEST ANSWER

Great question... The Client time is the difference between loadEventEnd and responseEnd (you can see the relevant code here). In English terms this everything that happens from the time the browser receives last byte from the server (for the main document) to when the load event for the current document is run (this typically occurs after all external resources have loaded).

Most of the time, to improve this number, it involves caching aggressively, bundling your documents together, etc. There is a great talk that Nik Molnar did on this which has a fairly large section on optimizing these types of - http://vimeo.com/97415381.