4 ms·
It's often recommended to run ngen as a part of the user install process for larger applications.
by ajanuary 13y ago
It's often recommended to run ngen as a part of the user install process for larger applications.
- snuxoll 13y agoSometimes ngen produces worse code than the JIT does since it has no knowledge of execution state. Compile your assemblies which can be easily optimized, but you may actually be better off losing a couple of cycles waiting for the JIT to compile a method on first call in certain cases.