Collecting Application Statistics for Services by Using the Profiler Sampling Method

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

This section describes the procedures and options for collecting performance statistics for Windows services using the sampling method from the command line.

System_CAPS_ICON_note.jpg 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.

TaskRelated Content
Attach the profiler to a .NET service- How to: Attach the Profiler to a .NET Service to Collect Application Statistics
Add tier-interaction data- Collecting tier interaction data
Attach the profiler to a C/C++ service- How to: Attach the Profiler to a Native Service to Collect Application Statistics

Profiling Windows Services

TaskRelated Content
Profile by using the instrumentation method- Collecting Detailed Timing Data Using Instrumentation
Profile .NET memory allocation and garbage collection- Collecting .NET Memory Data
Profile resource contention and thread activity- Collecting Concurrency Data

Profiling by Using the Sampling Method

TaskRelated Content
Profile stand-alone (client) applications- Collecting Application Statistics Using Sampling
Profile ASP.NET Web applications- Collecting Application Statistics Using Sampling

Analyzing Sampling Data Views and Reports

Sampling Method Data Views

Show: