Sdílet prostřednictvím


Collecting Application Statistics for Stand-Alone Applications by Using the Profiler Command Line

Note

This article applies to Visual Studio 2015. 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 performance statistics for a client (stand-alone) application by using the sampling method from the command line.

Note

Enhanced security features in Windows 8 and Windows Server 2012 required significant changes in the way the Visual Studio profiler collects data on these platforms. Windows Store apps also require new collection techniques. See Performance Tools on Windows 8 and Windows Server 2012 applications.

Common Tasks

Task Related content
Start an application by using profiling - How to: Launch a Stand-Alone Application and Collect Application Statistics
Attach the profiler to a running .NET Framework application - How to: Attach the Profiler to a .NET Framework Application and Collect Application Statistics
Attach the profiler to a running C/C++ application - How to: Attach the Profiler to a Native Application and Collect Application Statistics
Add tier-interaction data - Collecting tier interaction data

Profiling Stand-Alone Applications

Task Related content
Instrument an application - Collecting Detailed Timing Data Using Instrumentation
Collect .NET memory allocation and garbage collection data - Collecting .NET Framework Memory Data
Collect resource contention and thread execution data - Collecting Concurrency Data

Profiling by Using the Sampling Method

Task Related content
Profile ASP.NET Web applications - Collecting Application Statistics Using Sampling
Profile services - Collecting Application Statistics Using Sampling. Describes how to collect performance statistics from Windows services by using the sampling method.

Analyzing Sampling Data Views and Reports

Sampling Method Data Views