From a C++/JS benchmark

bearophile bearophileHUGS at lycos.com
Fri Aug 5 10:20:31 PDT 2011


Trass3r:

> >> C++ no SIMD:
> >> Skinned vertices per second: 42420000
>...
> D gdc with added -frelease -fno-bounds-check:
> Skinned vertices per second: 37710000

I'd like to know why the GCC back-end is able to produce a more efficient binary from the C++ code (compared to the D code), but now the problem is not large, as before.

It seems I've found a benchmark coming from real-world code that's a worst case for DMD (GDC here produces code about 237 times faster than DMD).

Bye,
bearophile


More information about the Digitalmars-d mailing list