[Mono-dev] Big performance gaps between .NET, Mono (Suse/Debian) ?

Clemens Eisserer linuxhippy at gmail.com
Tue Oct 6 07:01:58 EDT 2009


Hi,

> Can anybody help me to understand why, on simple performance tests, I see so
> different results between .NET and Mono on various Linux platforms?

Well, your tests are probably not very real-world, but the answer is
quite simple.

Mono has a horrible slow GC, and its code-generator/jit is ok but not
exceptional good.
Its simply a matter of money - MS has a lot of resources dedicated to
its CLR, whereas Mono is a smaller project.

The situation reminds me a lot to the java situation, before SUN
open-sourced their runtime.
They worked, and some quite well, but SUN's JVM (especially the server
runtime) was most of the time a lot faster - especially for large systems.
Gladly, Sun open-sourced java, so you now get the source of their
well-tuned VM under GPL :)

- Clemens


More information about the Mono-devel-list mailing list