DMD compilation speed

weaselcat via Digitalmars-d digitalmars-d at puremagic.com
Sun Mar 29 17:14:33 PDT 2015


On Monday, 30 March 2015 at 00:12:09 UTC, Walter Bright wrote:
> On 3/29/2015 4:14 PM, Martin Krejcirik wrote:
>> It seems like every DMD release makes compilation slower. This 
>> time I see 10.8s
>> vs 7.8s on my little project. I know this is generally least 
>> of concern, and
>> D1's lighting-fast times are long gone, but since Walter often 
>> claims D's
>> superior compilation speeds, maybe some profiling is in order ?
>
> Sigh. Two things happen constantly:
>
> 1. object file sizes creep up
> 2. compilation speed slows down
>
> It's like rust on your car. Fixing it requires constant 
> vigilance.

would having benchmarks help keep this under control/make 
regressions easier to find?


More information about the Digitalmars-d mailing list