Compartilhar via


Collect detailed timing data for an ASP.NET web application using the profiler instrumentation method from the command line

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This section describes the procedures and options for collecting detailed performance data for an ASP.NET Web application by using the VSPerfCmd command line tool and the instrumentation method.

Note

The VSPerfCmd tool provides you with complete access to Profiling Tools functionality, including pausing and resuming profiling, and collecting additional data from processor and Windows performance counters. You can also use the VSPerfASPNETCmd command-line tool when you do not need this functionality. In comparison to the VSPerfCmd command-line tool, no environment variables have to be set, and rebooting the computer is not required. For more information, see Rapid web site profiling with VSPerfASPNETCmd.

Common tasks

Task Related Content
Profile statically compiled binaries - How to: Instrument a statically compiled ASP.NET application and collect detailed timing data
Profile dynamically compiled binaries - How to: Instrument a dynamically compiled ASP.NET application and collect detailed timing data

Profile ASP.NET web applications

Task Related Content
Profile by using the sampling method - Collect application statistics using sampling
Profile memory allocation and garbage collection - Collect memory data
Profile resource contention and thread activity - Collect concurrency data

Profile by using the instrumentation method

Task Related Content
Profile stand-alone (client) applications - Collect detailed timing data using instrumentation
Profile services - Collect detailed timing data using instrumentation

Analyze instrumentation data views and reports