[Mono-list] Mono C# versus Java 6 -server performance

Robert Hulme hulme at ebi.ac.uk
Thu Nov 29 05:34:47 EST 2007


Hi,

I have recently been part of a discussion with colleagues about the 
merits of C# versus Java. I am of the opinion that C# is a superior 
language, but my colleagues questioned whether the performance is 
comparable on Linux (which is what we use here at EBI).

I had a look on the Language Shootout, comparing Mono 1.2.5 with Java 6 
-server. 
http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=csharp

In almost all the benchmarks Mono C# was significantly slower than Java 6.

I downloaded some of the benchmarks to see if I could reproduce the 
results on my machine (Mono JIT compiler version 1.2.3.1 / Java 6). The 
results were the same. Twiddling with mono / mcs flags didn't seem to 
make a difference.

I was wondering if anyone had any insights in to why this is, whether it 
is a CIL/C# issue or is specific to the Mono implementation, and whether 
there are any plans to bring Mono performance in line with Java performance.

Many thanks,
Robert Hulme

-- 
Two things are infinite: the universe and human stupidity; and I'm not 
sure about the the universe.
-- Albert Einstein


More information about the Mono-list mailing list