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

Chuck Esterbrook chuck.esterbrook at gmail.com
Tue Oct 6 06:38:56 EDT 2009

On Tue, Oct 6, 2009 at 3:27 AM, Leszek Ciesielski <skolima at gmail.com> wrote:
> Besides, while measuring Dictionary<T, K> performance has some relation to
> actual program performance, I doubt whether anyone will call
> IPAdress.ToString() often enough to even notice the speed difference...

True, but a 6 - 7 X slow down is so large that it's interesting to ask
why. Dictionary's 2 X slow down is significant.

I still boot up Windows in a VM on some occasions just to develop and
run CLR code in half the time. Run-time performance can affect the
development cycle as you loop through:
1. Edit code
2. Build
3. Run
4. Observe results, contemplate changes
5. Go To 1

(Oh no, a GOTO statement!)

It would be nice if the performance gap was smaller. Same with the C#
compilers--Novell vs. MS.

Re: Euan's concerns about background processes, I have found Mono on
Mac to be *consistently* slower than .NET on Windows. In fact, I run
Windows in a VM which introduces some I/O overhead, and it still runs
substantially faster, every time.


More information about the Mono-devel-list mailing list