[Mono-dev] Make it go faster
kumpera at gmail.com
Wed Jan 26 06:41:24 EST 2011
Can you post a code sample where this 2.5x performance loss happens?
Mono is usually slower, but should not be by all of that.
On Wed, Jan 26, 2011 at 10:25 AM, McLachlan, Charles <
CMcLachlan at illumina.com> wrote:
> I have a heavily used path in my code that iterates over a big array and
> does a bit of maths.
> Mono 2.8 on 64bit linux seems to be about 2.5 times slower than .NET on
> 64bit Windows.
> The path is pure .NET, but other bits of the program use native
> libraries for other computationally intensive bits. This means the whole
> lot is compiled with -unsafe.
> I have tried compiling the code with both Visual Studio and dmcs. Both
> executables run in the same sort of times (i.e. the speed hit is coming
> from the different virtual machine, not the compiler producing "bad"
> Is there any voodoo I can give mono (at runtime) to make it do
> maths/array traversal faster?
> (or any web page that describes how to make it go faster?)
> I have tried --aot, followed by --optimize=aot as well as various
> combinations of --optimise=loop,aot,all all with no appreciable change.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list