Using Performance Rules to Analyze Profiling Data

The performance warnings of Visual Studio Profiling Tools indicate issues in a profiled application that can slow program execution. Warnings can also indicate that you might need to change collection methods to collect more useful data. Performance warnings are generated automatically in a profiling session. Warnings appear in the Error List window when a profiling data file is opened in Visual Studio. From the Error List window, you can locate the source code of the issue, and you can display detailed information about the error, such as information about how to resolve the problem. You can also disable warnings in which you are not interested.

Note

Profiler performance warnings are generated by the dynamic analysis of program execution and are independent of Code Analysis warnings. Code Analysis can also generate performance warnings for managed code based on the static analysis of the source code. For more information, see Analyzing Managed Code Quality by Using Code Analysis and Performance Warnings.

In This Section