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

Jeffrey Stedfast fejj at novell.com
Thu Nov 29 07:34:31 EST 2007


I could be completely wrong, but my thinking is that the slowness is is
the Mono implementations of various things (VM, classes, etc).

There has been significant performance improvements done since 1.2.3, so
you might try that and see how things have changed (Mono still may be
slower than java6).

Jeff

On Thu, 2007-11-29 at 10:34 +0000, Robert Hulme wrote:
> 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
> 



More information about the Mono-list mailing list