[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
  System Requirements
  Improve Performance
 [Expand]Features by Language
 [Expand]Getting Started
 [Expand]How To
 [Expand]Coding Assistance
 [Expand]Navigation and Search Tools
 [Expand]Static Code Analysis
 [Expand]Visualization Tools
 [Expand]Code Style Assistance
  Building Assistance
  Debugging Assistance
 [Expand]Refactoring Assistance
 [Expand]Unit Testing Assistance
 [Expand]Decompiling Tools
 [Expand]Configuration Options
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Improve Performance

The Ngen.exe (Native Image Generator) tool creates native binary images (files containing compiled processor-specific machine code) for assemblies. This improves CodeRush performance because it produces and installs binary images in the native image cache on the local computer. The runtime process can use native images from the cache instead of the just-in-time (JIT) compiler to compile the original assembly.

Ngen.exe requires administrative privileges. The system asks you for administrator privileges if you run Visual Studio without administrator rights.

Click "Improve performance with Ngen" notification in the Feature Advisor to run the Ngen Installer.

Expanded Configure Ngen

Switch to the IDE/NGen Options settings and choose one of the following options:

  • Ask for every CodeRush update in the Feature Advisor notification (the default option).

  • Compile assemblies automatically after each CodeRush update.

  • Disregard the suggestion and never show it again.

Is this topic helpful?​​​​​​​