Performance of method calls
Sean Kelly
sean at f4.ca
Thu Nov 30 06:26:04 PST 2006
Daniel Keep wrote:
> 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
A Win32 version exists as part of the "extended utilities package"
available from digitalmars.com. It's worth the $15 cost all by itself IMO.
Sean
More information about the Digitalmars-d
mailing list