What's the performance differences between the frameworks (for the same/equivalent code)?
views:
104answers:
2I don't think that's what Ash was looking for but I found it interesting.
Michael Haren
2009-01-20 13:33:07
+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
2009-01-20 12:51:42