次の方法で共有


Collect application statistics for stand-alone applications by using the profiler 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 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. UWP 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

Profile stand-alone applications

Task Related content
Instrument an application - Collect detailed timing data using instrumentation
Collect .NET memory allocation and garbage collection data - Collect .NET Framework memory data
Collect resource contention and thread execution data - Collect concurrency data

Profile by using the sampling method

Task Related content
Profile ASP.NET web applications - Collect application statistics using sampling
Profile services - Collect application statistics using sampling. Describes how to collect performance statistics from Windows services by using the sampling method.

Analyze sampling data views and reports