Collect statistics for ASP.NET web apps – Visual Studio


This section describes the procedures and options for collecting performance statistics for an ASP.NET Web application by using the VSPerfASPNETCmd and VSPerfCmd command-line tool and the sampling profiling method.


Although the VSPerfCmd tool gives you complete access to Profiling Tools functionality, including pausing and resuming profiling, and collecting additional data from processor and Windows performance counters, you should use the VSPerfASPNETCmd command line tool when you do not need this functionality. The VSPerfASPNETCmd command line tool is the preferred method when your are profiling ASP.NET Web sites using the stand-alone profiler. Compared with the VSPerfCmd command line tool, no environment variables need to be set, and rebooting the computer is not required. For more information, see Rapid web site profiling with VSPerfASPNETCmd.

Common tasks

Profile ASP.NET web applications

Sample method

Analyze sampling data views and reports

Sampling method data views