[Mono-list] surprising benchmark

Guenther Roith groith@tcrz.net
Thu, 28 Mar 2002 19:54:38 +0100


I wnated to know if the mono-engine is as fast as .net, so I did a small
benchmark, which
does not do more than dounting up to 100000 and printing the actual number.
This may not be a perfect test, but it can tell us a lot things.

PC: Pentium II 350
RAM: ~ 320

Results:

.net/windows : 32 seconds
mint/windows: 115 seconds
mint/linux: 175 seconds
mono/linux: 25 seconds

so mono was FASTER but mint was slower on linux than on windows.

The source-code:

using System;

class X {

static int Main (string [] args)
 {

    for (int i = 0; i < 100000; i++)
{
  Console.WriteLine (i);
    }

return 0;
}

}