[dmd-internals] 3.5x speedup in building dmd

Andrei Alexandrescu andrei at erdani.com
Sun Jun 6 15:22:18 PDT 2010


Yours is looking good too!

Andrei

On 06/06/2010 04:11 PM, Brad Roberts wrote:
> See also: http://d.puremagic.com/issues/show_bug.cgi?id=4175
>
> I think my solution is a little more complete than yours, though I didn't do a
> diff of your changes, just a quick visual inspection.
>
> On 6/6/2010 2:01 PM, Andrei Alexandrescu wrote:
>> Running
>>
>> make -f linux.mak
>>
>> against the original makefile takes 3:27 on my machine. I tried this to
>> speed up building by running 4 processes at once:
>>
>> make -f linux.mak -j 4
>>
>> However, there are errors because the makefile does not establish
>> dependencies properly.
>>
>> The attached makefile fixes that problem. With the changed makefile, the
>> build time falls to 0:52 on my machine - a more than 3.5x speedup.
>>
>> Walter, could you please check this in? Thanks!
>>
>>
>> Andrei
>>
>>
>>
>> _______________________________________________
>> dmd-internals mailing list
>> dmd-internals at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/dmd-internals
>
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals


More information about the dmd-internals mailing list