Improve performance with NGen

Guys,

When installing ReSharper why don't you NGen your assemblies to increase performance?

0
3 comments
Avatar
Permanently deleted user

Reading this post prompted another question for me. I would be curious to know if anyone can answer a technical question on .NET? (I almost posted this in a separate thread).

Because ReSharper is compiled into many assemblies, can the compiler (either NGen.exe or the runtime compiler) take advanatage of optimizations such as method/property inlining across assemblies. In other words, is run time performance of ReSharper being compromised because compiler optimizations cannot be applied across assembly boundaries.

I realise most performance issues boil down to algorithms/approach but I would still like to know.

0
Avatar
Permanently deleted user

When jitting, compiler can inline methods from other assemblies without any problem. This is an advantage of jit compilers on static compilers.

0
Avatar
Permanently deleted user

Hello Jeremie,

I agree but is this happening in reality? "Can" and "does" are not the same
thing...

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

When jitting, compiler can inline methods from other assemblies
without any problem. This is an advantage of jit compilers on static
compilers.



0

Please sign in to leave a comment.