Timing too good to be true

David Nadlinger code at klickverbot.at
Sat Sep 21 17:39:35 PDT 2013


On Sun, Sep 22, 2013 at 2:27 AM, Paul Jurczak <pauljurczak at yahoo.com> wrote:
> On Saturday, 21 September 2013 at 22:47:16 UTC, bearophile wrote:
>>
>> Paul Jurczak:
>>
>>> I'm running this test program with multiple compilers on Xubuntu and I'm
>>> getting impossibly short timings with LDC compared to DMD and GDC (timing
>>> details in comments below). I would appreciate any ideas about what is going
>>> on here?
>>
>>
>> Use -output-s on ldc and show us the asm of just the two functions.
>>
>> Bye,
>> bearophile
>
>
> Here it is:
> [...]

As mentioned in my previous message, this is actually irrelevant for
your benchmark, as the functions are not even executed once by the
optimized test program.

David


More information about the digitalmars-d-ldc mailing list