I am running on a performance issue with ASP.Net 2.0 Application.
A page takes atmost 20+ secs to load in a browser.
I would like to know where the problem is occurring, i.e in browser(rendering) or in server(processing).
Is there a way to log the time taken for each request in IIS 7.5?
Any suggestion or help?
Best Answer
Enable "Time Taken" in W3C logs
To give a useless but precise and correct answer, here is how you go about logging the timespan each request takes to process:
In the IIS Manager:
A nice HowTo with screenshots are available at IIS.NET
Enable "Failed Request Tracing" in IIS
That however, will only tell you how many milliseconds the execution of a request took, not why.
To dig deeper into why it's slow, you might benefit from the "Failed Request Tracing" feature:
Now you have a proper tracing rule in place, all you need to do is to enable site tracing on the Web Site you are having problems with:
All the failed request reports will appear in the folder specified in step 5 (default location:
%SystemDrive%\inetpub\logs\FailedReqLogFiles
)Voila