Jeroen Frijters wrote:
Enrico Migliore wrote:
the code is a simple function that gets called 300000000 times.
This is a flawed test. Your code doesn't actually do anything, so the
function can be optimized away entirely and this is in fact was MSVC 7.1
does ("the test lasted for 0.0000 seconds")
Regards,
Jeroen
Hi Jeroen
to make an exhaustive comparison of the three tool chains I certainly
need a test suite.
In this simple test, I just wanted to see how the compilers build up the
stack frame of function calls,
and consequently how fast is the context change.
Enrico