Hi, All this test does is allocate memory non-stop which is a GC stress test. It is known that monos GC is currently slower than the MS GC. If you're wondering what kind of performance you can get out of a C#, gmcs would be a good example.
Alan On Mon, Feb 23, 2009 at 4:30 PM, Robert Jordan <[email protected]> wrote: > tomjohnson3 wrote: > > the performance difference (caused by the string and buffer allocation) > when > > running this simple program on windows xp using microsoft vs. mono 2.2 is > > pretty big...and i was hoping there's something i can do to reduce or > > eliminate the difference. > > > > here are the performance numbers for test 1 (allocating the char array > once, > > upfront): > > > > microsoft/windows xp: duration: 0.047sec; rate: 10638298/sec > > mono 2.2/windows xp: duration: 0.234sec; rate: 2136752/sec > > Since your sample does nothing, MS.NET has probably optimized out > parts of the code. > > If you're benching mono, do it under Linux and with real world code. > > Robert > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
