dmd-built dmd is faster that ldc-built dmd or gdc-built dmd?
Iain Buclaw via Digitalmars-d
digitalmars-d at puremagic.com
Fri Mar 11 06:32:26 PST 2016
On Friday, 11 March 2016 at 13:39:04 UTC, Vladimir Panteleev
wrote:
> Hi,
>
> In the process of setting up a new development environment, I
> noticed that DMD's codegen seems to outperform GDC's or LDC's
> when building DMD itself.
>
> I wrote a test script to measure the time it takes for DMD
> (built with different compilers) to build Phobos:
>
> http://dump.thecybershadow.net/9e42ff2858d1419cf41108cc50b0a83a/bench.sh
>
> My results are:
>
> dmd: 11.26
> ldc: 15.35
> gdc: 14.80
>
https://github.com/D-Programming-Language/dmd/blob/master/src/root/rmem.d#L166-L193
How memory is allocated makes a huge difference.
More information about the Digitalmars-d
mailing list