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
