[Mono-list] Poor Mono performance

imreolajos iolajos at ballytech.com
Fri Mar 8 23:51:42 UTC 2013


Hi all!

SpeedTest.cs <http://mono.1490590.n4.nabble.com/file/n4658877/SpeedTest.cs>  

I compile this code with Visual Studio C++ 2012 Pro, targeting .NET
Framework 4, x86 platform. When executed (natively, with .NET) on Windows 7
SP1 (64-bit), the run completes in 1.16 seconds on average. When I run the
same executable on the same PC on the same OS through Mono 3.0.6 with the
--llvm -O=unsafe options (which supposedly give me the best runtime
performance), I consistently get execution times of 2.5 seconds on average -
that's over 2x slower than .NET.

What can I do in code or with Mono runtime options that would bring the
performance of this code more in-line with .NET's? I would be happy if I
could get the Mono execution time to be within 25% of the "native"
execution. Or is Mono just this much slower, period?

Any help, ideas, etc. would be appreciated.

Thanks,

Imre



--
View this message in context: http://mono.1490590.n4.nabble.com/Poor-Mono-performance-tp4658877.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list