[Mono-dev] substantial performance regression between 2.10 and 2.6 or impl diff?

Jonathan Shore jonathan.shore at gmail.com
Sat Aug 27 13:27:24 EDT 2011


Hi,

I was doing some benchmarks of struct vs class based creation (I have an application that will generate millions of small objects).   I was doing the tests in a ubuntu 11.4 VM on my mac pro and found the following:

	mono 2.6.7 was 4x faster on my linux VM than 2.10.4 running on OSX (same machine)

I don't know whether this may be because of one of the following:

- performance in 2.10.4 regressed vs 2.6.7
- mono JIT implementation for OSX has a completely different JiT codebase and does not perform
- difference in GC (only relevant for second part of the test)

Note that I tried this with separate compilations with mcs -optimize+  on both environments as well as running the same exe on both.

I can live with slower performance on OSX, but want to make sure that linux and windows versions of mono 2.10.x have the performance of 2.6.7 or better.

Can someone clue me in?   I've included the simple test code with this posting.

Thanks

Jonathan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110827/2156961b/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main.cs
Type: application/octet-stream
Size: 2340 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110827/2156961b/attachment.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110827/2156961b/attachment-0001.html 


More information about the Mono-devel-list mailing list