[Mono-list] benchmark2 - and the winner is ...

Guenther Roith groith@tcrz.net
Thu, 28 Mar 2002 21:37:06 +0100


... ms .net   :-(

But to do a good benchmark mono should run on windows, so that the used
cpu/memory is the same than on .net.

Now the same thing without output and up to 2 000 000 000.

.net/windows: 20 sec.
mono/linux: 25sec.
mint/linux: I stopped it after it had wasted 8 minutes (is this possible??)

I know this thing says not to much as the class lib is not tested with this
and just countig is not a real situation.
But it gives a direction. PS: Did I do things right this time?

the source:


using System;

class X {

static int Main (string [] args)
 {
Console.WriteLine("start");

    for (int i = 0; i < 2000000000;)
{
i++;
}

Console.WriteLine("stop");

return 0;
}
}