Linked by Thom Holwerda on Fri 17th Jul 2009 10:45 UTC
Mono Project Mono from SVN is now able to use LLVM as a backend for code generation in addition to Mono's built-in JIT compiler. "This allows Mono to benefit from all of the compiler optimizations done in LLVM. For example the SciMark score goes from 482 to 610. This extra performance comes at a cost: it consumes more time and more memory to JIT compile using LLVM than using Mono's built-in JIT, so it is not a solution for everyone. Long running desktop applications like Banshee and Gnome-Do want to keep memory usage low and also would most likely not benefit from better code generation. Our own tests show that ASP.NET applications do not seem to benefit very much (but web apps are inherently IO-bound). But computationally intensive applications will definitely benefit from this. Financial and scientific users will surely appreciate this performance boost."
Permalink for comment 373990
To read all comments associated with this story, please click here.
RE[4]: Slow JIT
by ba1l on Sat 18th Jul 2009 02:22 UTC in reply to "RE[3]: Slow JIT"
ba1l
Member since:
2007-09-08

Any particular reason Mono doesn't always do pre-JITting?


Not sure. The pre-JITted native image is installed next to the CIL executable, so I assume it can't normally be done by a regular user - it'd have to be done at install time. You certainly can't run ngen on Microsoft's .NET implementation without admin privileges.

Reply Parent Bookmark Score: 2