Share via


Creating Basic Profiling Reports from the 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 topic describes the basic VSPerfReport commands that generate comma-separated value (.csv) reports from a .vsp or .vsps profiling data file. For a description of all report options, see VSPerfReport.

Report Commands

Use one of the following commands to create a report for a specified profiling data file.

VSPerfReport VSPFile /Summary:All
Generates all reports available for the .vsp or .vsps file.

VSPerfReport VSPFile /Summary:ReportType[,ReportType...]
Generates the specified report types.

VSPerfReport VSPFile /CallTrace
Generates a report that lists each data collection event. Instrumentation only.

Summary Report Type Parameters

The following table describes the reports that are generated by the specified report type option. The columns of a report depend on the profiling method that was used to collect the data.

Summary Parameter Report Description Report Reference
CallerCallee Represents parent/child relationships between functions. - Sampling Data
- Instrumentation Data
- .NET Memory Sampling Data
- .NET Memory Instrumentation Data
- Contention Data
Function Lists profiling data by function. - Sampling Data
- Instrumentation Data
- .NET Memory Sampling Data
- .NET Memory Instrumentation Data
- Contention Data
CallTree Represents the execution paths and profiling data of functions in the profiling run. - Instrumentation Data
- Sampling Data
- .NET Memory Sampling Data
- .NET Memory Instrumentation Data
- Contention Data
Counter Lists profiling marks and Windows performance counter values that were collected during the profiling run. - Marks View
Ip Lists profiling data by instruction. - Sampling Data
- .NET Memory Sampling Data
- Contention Data
Life Lists the lifetime of allocated objects. - Object Lifetime View
Line Lists profiling data by source code line. - Sampling Data
- .NET Memory Sampling Data
- Contention Data
Header Profiling data file header information. Specific to file.
Mark Profiling marks collected in the profiling run. - Marks View
Module Lists profiling data for modules. - Sampling Data
- Instrumentation Data
- .NET Memory Sampling Data
- .NET Memory Instrumentation Data
- Contention Data
Process Lists profiling data for processes. - Process View
- Contention Data
Thread Lists profiling data for threads. - Process View
Type Lists allocation profiling data by type. - Allocations View
Contention Resource contentions. - Resource Contentions
RuleWarnings Lists performance rule issues. - Lists the CheckId, description, and source code location of the rule issue.
ETW Lists Event Tracing for Windows (ETW) events collected in the profiling run. - ETW Report