[Mono-list] Optimize code for Mono / execution speed

Paolo Molaro lupus@ximian.com
Tue, 3 Sep 2002 15:53:56 +0200


On 09/02/02 Tom Fransen wrote:
> I wrote a few small benchmark that a ran on Mono and on MS .NET (I also used
> C++). I looked at the man pages for MCS and Mono but I found no option for
> optimizing the code (the CSC compiler however has such an option). Did I
> miss something, is there a way to speedup things?
[...]
> Yes, I know these are just micro-benchmark so it is not an absolute truth
> but it give some indication. I haven studied the details or tried to analyse
> why things are fast or slow.

We could do that if you provided the sources of your benchmarks...
The speed difference versus the MS JIT with tight code may be about two
times slower (though usually it's less than 50%) with the current JIT.
There are a couple of your test results that may be explained with the
fact that our corlib has not been optimized yet, but benchmarks without
source are useless to us.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better