views:

131

answers:

3

We use IIS servers and would like to know if there is a performance counter or something else which could help us determine how long it's taking to serve web pages (average, actual, whatever)? From the time the page is requested, to the time it has been sent out, how long was it? Is there anything in IIS which can give me this information?

+1  A: 

Try using Fiddler - (http://www.fiddler2.com/fiddler2/). You can then Select a set of items to see how long it took to request and get all those specific resources.

Tejs
+3  A: 

This information is in the IIS log in the "Time-Taken" column for each incoming request. It includes the time from when it starts processing the page until it has finished sending the page over the wire, but does not include the time it takes to transmit the file or time the request spent in the queue before it was processed (if applicable).

The default location for this log file is: C:\WINDOWS\system32\LogFiles\W3SVC1

You can also do it with Performance Monitor. Here is are the ASP.NET the counters and their meanings
Here is one for IIS.

Some that will be especially relevant to your concerns are:

  • Requests Queued
  • Requests/Sec
  • Requests Executing
JohnFx
Yes, I just found this in web searches. Is there a more active method to get this information (i.e. performance counter?)
Brettski
Where can I determine if there has been request queuing?
Brettski
You can also do it with Performance Monitor (perfmon.exe) here is a link with the details: http://msdn.microsoft.com/en-us/library/fxk122b4%28VS.71%29.aspx
JohnFx
A: 

You can see it in your IIS logs, however you have to enable the option.

In IIS 6 do the following:

  1. Right-click your website and choose properties
  2. Go to the Website tab
  3. Click Properties in the Enable Logging section
  4. Click the Extended Properties tab
  5. Check Extended properties
  6. Check Time Taken
  7. click OK and close everything
  8. do an iisreset

This value will now start appearing in your IIS logs.

AaronS