We recommend using Visual Studio 2017

Performance Rules Reference


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Performance Rules Reference.

The performance rules of the Profiling Tools provide additional warnings and information about the performance of your application. Performance rules analyze data in a profiling run that is collected from sources such as Windows and processor performance counters. Rule messages appear in the Error Output window of the Visual Studio integrated development environment. Messages are listed with one of the following rule levels:

ErrorFew rules generate Error messages because most performance problems are not outright errors. An Error message can indicate a failure to collect profiling data.
WarningWarnings indicate an area of your application that can potentially be a source of performance problems or that might benefit from optimizations.
InformationInformation messages indicate that either the analysis of a rule condition did not reach the threshold to generate an Error message, or that the information in the message is useful but does not reflect a performance problem.

Performance Rules by ID

The Profiling Tools performance rules are organized in four categories:

.NET Framework Usage Performance RulesRules that help you use the .NET Framework efficiently.
Memory and Paging Performance RulesRules that analyze the managed memory and paging behavior of your application.
Profiling Tools Usage RulesRules that help you use the Profiling Tools efficiently.
Resource Monitoring Performance RulesInformation messages about processor and memory utilization in a profiling run.