[Mono-dev] Make it go faster
vargaz at gmail.com
Wed Jan 26 05:58:20 EST 2011
You might want to try the llvm backend in mono 2.8 and later:
<http://www.mono-project.com/Mono_LLVM>That will compile most IL code using
the LLVM optimizing compiler instead of the mono JIT. The next mono release,
2.10 will have llvm enabled official packages.
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