Profiling DMD's Compilation Time with dmdprof

Vladimir Panteleev thecybershadow.lists at gmail.com
Wed Nov 14 08:20:31 UTC 2018


On Thursday, 8 November 2018 at 07:54:56 UTC, Manu wrote:
> And all builds are release builds... what good is a debug 
> build? DMD
> is unbelievably slow in debug. If it wasn't already slow 
> enough... if
> I try and build with a debug build, it takes closer to 5 
> minutes.

I just got to try a side-by-side comparison of a release and 
debug (as in `make -f posix.mak BUILD=debug`) build of DMD.

With a 25KLOC project, the debug build is only 36% slower.

Maybe the experience on Windows / Visual Studio is very different.


More information about the Digitalmars-d-announce mailing list