We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Profiling Tools 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:


Few rules generate Error messages because most performance problems are not outright errors. An Error message can indicate a failure to collect profiling data.


Warnings indicate an area of your application that can potentially be a source of performance problems or that might benefit from optimizations.


Information 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 Rules

Rules that help you use the .NET Framework efficiently.

Memory and Paging Performance Rules

Rules that analyze the managed memory and paging behavior of your application.

Profiling Tools Usage Rules

Rules that help you use the Profiling Tools efficiently.

Resource Monitoring Performance Rules

Information messages about processor and memory utilization in a profiling run.