[dmd-internals] 3.5x speedup in building dmd

Brad Roberts braddr at puremagic.com
Sun Jun 6 14:11:48 PDT 2010


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



More information about the dmd-internals mailing list