[Mono-list] Mono performance on Windows vs. Linux

Ben Maurer bmaurer@users.sourceforge.net
Sat, 20 Mar 2004 14:25:15 -0500

On Fri, 2004-03-19 at 21:47, Jim Hugunin wrote:
> I'm trying to benchmark a .NET application I wrote (IronPython) under mono.
> I've developed the program completely under windows xp so far.  I've
> installed mono (0.31) on windows and my application runs on it but the
> performance is not as good as I had hoped for.  The benchmark doesn't do any
> I/O or gui work and is processor and memory bound (it's the pystone
> benchmark program).
> Before I invest the time to setup my machine to dual-boot into linux, I
> wanted to ask for some advice.  Should I expect mono to run substantially
> faster under linux for processor and memory bound programs?  Are there any
> obvious tricks I should be using to get the top performance out of mono?
> I've tried running with -O=all but that makes no difference I can see.

What would be most helpful is source + the benchmark source ;-).

Failing that, a profile output would be helpful (mono --profile
myapp.exe [args]), however, this will give someone looking at the
profile much less information, as they will have to assume things they
would not have to with the source code.

Also, with the source it is easier to see the benefits of fixes.

-- Ben