tags:

views:

104

answers:

2

What's the performance differences between the frameworks (for the same/equivalent code)?

+1  A: 

Mono vs. .NET Performance Test

Dmitriy Matveev
I don't think that's what Ash was looking for but I found it interesting.
Michael Haren
+3  A: 

"equivalent code" is tricky... for example, under the bonnet and out of sight, code might use things like Reflection.Emit / DynamicMethod / Delegate.CreateDelegate to generate dynamic (but highly optimized) code. These don't work universally (not on CF 2.0, for example).

Even for basic code, the JIT/GC may work very differently between platforms and or frameworks (or even on different CPUs / cores). Server GC is different to desktop GC, for example. There are difference between x86 and x64 (different optimizations and costs). So I'm afraid it boils down to specific tests on specific areas. A broad brush "is 20% faster" won't necessarily apply to the CPU-intensive part of your code.

Marc Gravell