Поделиться через


Configure performance sessions

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

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 Wizard and 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 Control 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
- Collect performance statistics by using sampling
- Collect .NET memory allocation and lifetime data
- Collect detailed timing data by using instrumentation
- How to: Profile JavaScript code in web pages
- Collect thread and process concurrency data
- Collect 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

See also