Optimization Reports: Enabling in Visual Studio*

Optimization reports can help you to address vectorization and optimization issues that you may encounter.

When you build a solution or project and the compiler generates optimization diagnostics, you can view optimization reports in the following windows:

  • Compiler Optimization Report window, either grouped by loops or in a flat format

  • Compiler Inline Report window

  • Optimization annotations integrated within the source editor

To enable viewing optimization reports:

  1. In your project's property pages, select Configuration Properties > C/C++ > Diagnostics [Intel C++].

  2. Set a non-default value for any of the following options:

    • Vectorizer Diagnostics Level

    • Optimization Diagnostics Level

    • Optimization Diagnostics Phase

    • Optimization Diagnostics Routine

  3. Build your project to generate an optimization report.

When the compiler generates optimization diagnostics, the Compiler Optimization Report and the Compiler Inline Report windows open, and optimization report annotations appear in the source editor.


You can specify how you want optimization reporting to appear with the Optimization Reports dialog box. Access this dialog box by selecting Tools > Options > Intel Compilers and Tools > Optimization Reports.

For more complete information about compiler optimizations, see our Optimization Notice.