DMD compilation speed
John Colvin via Digitalmars-d
digitalmars-d at puremagic.com
Thu Apr 9 07:42:12 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.
I just did some profiling of building phobos. I noticed ~20% of
the runtime and ~40% of the L2 cache misses were in slist_reset.
Is this expected?
More information about the Digitalmars-d
mailing list