Performance of method calls

Daniel Keep daniel.keep+lists at gmail.com
Thu Nov 30 02:32:02 PST 2006


Walter Bright wrote:
> Daniel Keep wrote:
> 
>> I just recompiled and re-ran with some different flags.  The results 
>> are... interesting.
>>
>> (Numbers are #1/#2 and #3/#2)
>>
>> -O: 1.39892 and 3.61384
>> -O -release: 1.00703 and 1.0163
>> -O -inline: 1.89054 and 13.4001
>> -O -release -inline: 1.8257 and 1.00007
>>
>> Now I've got *no* idea what to think :P
> 
> 
> You really need to use obj2asm on the results. It'll make things a lot 
> more sensible!

Isn't obj2asm linux only?  I used ndisasm on the object files, but my 
x86 assembler isn't quite good enough to work out what's going on :P

	-- Daniel



More information about the Digitalmars-d mailing list