What happened to phobos compile time?

Mathias LANG geod24 at gmail.com
Tue Aug 4 04:41:15 UTC 2020

On Tuesday, 4 August 2020 at 03:54:53 UTC, RazvanN wrote:
> Hello everyone!
> I just tried compiling phobos on machine to get updated with 
> the latest changes and I noticed an explosion in compile time. 
> On my machine it takes roughly 5 minutes (!!!) to compile it 
> while last year it took somewhere around 15-30 seconds. Does 
> anyone know what has caused this serious performance regression?
> Thanks for answers,
> RazvanN

Welcome to the wonderful world of DMD inliner, we hope you enjoy 
your stay.

$ make -f posix.mak -j8  88.90s user 0.89s system 99% cpu 1:30.25 
$ git show HEAD | head -n 5
commit 2f0ea3fdedc2889b63f266de908cb8658ce98ec9
Author: Walter Bright <walter at walterbright.com>
Date:   Tue Jul 21 01:12:35 2020 -0700

     sha: inline critical functions
$ git checkout HEAD^
Previous HEAD position was 2f0ea3fde sha: inline critical 
HEAD is now at e364edfc8 Merge pull request #7561 from 
$ make -f posix.mak -j8  9.42s user 0.55s system 98% cpu 10.128 

More information about the Digitalmars-d mailing list