Configuring Performance Sessions

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. Download it here

By using Visual Studio Profiling Tools, you can collect a wide variety of performance data for a large number of application types. This section shows you how to use the Performance Wizardand properties of the performance session and target binary to configure Profiling Tools to collect the data that interests you. Profiling Tools configuration properties can also be used to control how much data is collected in a profiling run. For more information, see Controlling Data Collection.

Note

In many cases, using the default properties of the Performance Wizard is an effective way of collecting profiling data. For more information, see Beginners Guide to Performance Profiling and Getting Started.

Common Tasks

Task Related Content
Set the basic profiling options: You should configure Visual Studio to use the Microsoft symbol server. This will make sure that you have access to symbols, such as function and parameter names, for the current version of Windows and other Microsoft applications. You can also specify other general options before a profiling session starts, such as system permissions to the profiling tools and the names of profiling data files. - How to: Reference Windows Symbol Information
- How to: Serialize Symbol Information
- How to: Set the Current Session
- How to: Set Permissions
- How to: Set Performance Data File Name Options
Specify the data that you want to collect: The procedures that you use to configure a profiling session depend on the type of target application that you want to profile and the type of performance data that you want to collect. - How to: Choose Collection Methods
- Collecting Performance Statistics by Using Sampling
- Collecting .NET Memory Allocation and Lifetime Data
- Collecting Detailed Timing Data by Using Instrumentation
- How to: Profile JavaScript Code in Web Pages
- Collecting Thread and Process Concurrency Data
- Collecting Additional Performance Data
Set advanced configuration options: When you profile .NET Framework applications that load multiple versions of the common language run-time (CLR), you can specify which version to profile. When you have multiple .exe files in a performance session, you can set the start order of the binaries. - How to: Specify the .NET Framework Runtime
- How to: Specify the Binary to Start

Controlling Data Collection

See Also

Performance Explorer