[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 tool allows you to improve CodeRush performance. This tool produces native binary images and installs them into the native image cache on the local computer. The runtime process can use native images from the cache instead of using the just-in-time (JIT) compiler to compile the original assembly.

You need administrative privileges to run NGEN.exe.

The system asks you for administrator privileges when it runs the NGEN Installer.

If you start Visual Studio with administrator privileges, and NGEN performance improvement options are available, the system runs NGEN Installer automatically.

NGEN compilation is performed in a separate process so you can close Visual Studio or keep it running after you start. You can see compilation progress in the notification area if Visual Studio is running.

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