harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrico Migliore <enrico.migli...@fatti.com>
Subject Re: C compilers comparison: MSVC vs GCC vs DevCpp
Date Mon, 17 Oct 2005 09:32:02 GMT
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


Mime
View raw message