Command-Line Profiling of ASP.NET Web Applications

This section describes the procedures and options for collecting performance data for ASP.NET Web applications by using Visual Studio Profiling Tools from the command line.

Common Tasks

Task

Related Content

Collect basic ASP.NET profiling data easily: Use the VSPerfASPNETCmd tool to collect sampling, instrumentation, .NET memory, contention, or tier interaction data without the configuration requirements and the Internet Information Services (IIS) restarts that are needed for VSPerfCmd. VSPerfASPNETCmd does not allow you to collect additional data or to control data collection.

NoteNote
VSPerfASPNETCmd is the preferred tool to use you use the standalone profiler to profile ASP.NET Web sites.

Collect application statistics: Use the sampling method to collect performance statistics. Sampling data is useful for analyzing CPU usage issues and for understanding the general performance characteristics of an application.

Collect detailed timing data: Use the instrumentation method to collect detailed timing information. Instrumentation data is useful for analyzing IO issues and for fine-grained analysis of application scenarios.

Collect .NET memory data: Use sampling or instrumentation to collect .NET memory allocation data that shows you the size and number of allocated objects. You can also collect object lifetime data that shows you the size and number of objects that are reclaimed in each garbage collection generation.

Collect concurrency data: Use the concurrency method to collect resource contention data.

NoteNote
Collecting thread activity and visualization data is not supported for Web applications.

Add tier interaction data: You can add performance data about synchronous ADO.NET calls that the ASP.NET Web application makes to a Microsoft SQL Server database.

Task

Related Content

Profile stand-alone (client) applications

Profile services