Say, I want to calculate the time taken to load a ASP.NET page. When a user types the URL and presses enter, the following events take place:
- Request is sent to the server
- Server processes the request, executes any on load server side logic, makes DB calls
- Browser receives the response, downloads HTML and JS files
- Browser runs client side logic (Javascript functions on load)
- Browser renders the page
If I would like to measure the time taken for each of these operations, my understanding is that I can use the following tools:
- For (1), use Fiddler to calculate time over the Network
- For (2), switch on trace to calculate time for server side processing
- For (3), use Fiddler to calculate the time taken for download
- For (4), use firebug for time taken by JS functions
Summing up 1 to 4 gives the total time taken.
Is my thinking correct? Is there one tool that does all this? Is there an easier way