[Mono-list] Poor Mono performance

Andres G. Aragoneses knocte at gmail.com
Sat Mar 9 01:20:41 UTC 2013

AFAIR, llvm has bad startup performance but is better than non-LLVM 
after startup. So a speed test that is so short is always going to give 
bad results.

On 08/03/13 23:51, imreolajos wrote:
> 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.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

More information about the Mono-list mailing list