Jump to page: 1 2
Thread overview
[Issue 20391] [REG 2.089] DMD compile times increased by 40%
Nov 14, 2019
GoaLitiuM
Nov 14, 2019
GoaLitiuM
[Issue 20391] [REG 2.089] DMD compile times increased by 40% because ENABLE_RELEASE=0 in build
Dec 13, 2019
GoaLitiuM
Dec 13, 2019
Seb
Dec 14, 2019
GoaLitiuM
Dec 14, 2019
GoaLitiuM
Dec 16, 2019
GoaLitiuM
Jan 08, 2020
Rainer Schuetze
Jan 13, 2020
Dlang Bot
Jan 13, 2020
Basile-z
Jan 13, 2020
Dlang Bot
Jan 13, 2020
Rainer Schuetze
Feb 05, 2020
GoaLitiuM
Feb 05, 2020
Rainer Schuetze
Mar 21, 2020
Basile-z
November 14, 2019
https://issues.dlang.org/show_bug.cgi?id=20391

--- Comment #1 from GoaLitiuM <goalitium@dissues.mail.kapsi.fi> ---
Just to clarify: this performance regression does not just apply to compiling DMD, it also affects other projects as well.

--
November 14, 2019
https://issues.dlang.org/show_bug.cgi?id=20391

--- Comment #2 from GoaLitiuM <goalitium@dissues.mail.kapsi.fi> ---
It looks like the official builds are compiled with ENABLE_DEBUG=1, which also explains why my own DMD built DMD builds are faster too (~6 seconds with DMD32, ~7 seconds with DMD64).

--
December 13, 2019
https://issues.dlang.org/show_bug.cgi?id=20391

GoaLitiuM <goalitium@dissues.mail.kapsi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[REG 2.089] DMD compile     |[REG 2.089] DMD compile
                   |times increased by 40%      |times increased by 40%
                   |because ENABLE_DEBUG=1 in   |because ENABLE_RELEASE=0 in
                   |build                       |build

--
December 13, 2019
https://issues.dlang.org/show_bug.cgi?id=20391

Seb <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify@gmail.com

--- Comment #3 from Seb <greeenify@gmail.com> ---
Could it be that this solves your issue?

https://github.com/dlang/dmd/pull/10663

--
December 14, 2019
https://issues.dlang.org/show_bug.cgi?id=20391

--- Comment #4 from GoaLitiuM <goalitium@dissues.mail.kapsi.fi> ---
I can't possibly know, I had no issues with building the DMD myself with these flags, the problem lies in the officially distributed binaries which seems to be missing them, and I have no idea how they are exactly built.

--
December 14, 2019
https://issues.dlang.org/show_bug.cgi?id=20391

--- Comment #5 from GoaLitiuM <goalitium@dissues.mail.kapsi.fi> ---
Maybe it wasn't clear enough, but the measurements in my first posts were measured with DMD binaries downloaded from https://dlang.org/download.html and building the same project with those versions, which in this case it was DMD ~master or DMD 2.088.1. Using my own binaries (the DMD64 versions, but DMD32 performs similarly) with ENABLE_RELEASE=1 does not show this regression at all.

--
December 16, 2019
https://issues.dlang.org/show_bug.cgi?id=20391

--- Comment #6 from GoaLitiuM <goalitium@dissues.mail.kapsi.fi> ---
DMD 2.089.1 came out today and is still significantly slower than my own builds.

--
January 08, 2020
https://issues.dlang.org/show_bug.cgi?id=20391

Rainer Schuetze <r.sagitario@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@dawg.eu,
                   |                            |r.sagitario@gmx.de

--- Comment #7 from Rainer Schuetze <r.sagitario@gmx.de> ---
dmd 2.090 is still slower than 2.088. dmd.exe is also built with debug symbols and contains strings only used by assertions, so I suspect it's just a debug build.

dub.exe also contains debug symbols, but it has always been this way.

Maybe a locally modified makefile during release build is also causing the dmd version to have the suffix -dirty.

@Martin any idea?

--
January 13, 2020
https://issues.dlang.org/show_bug.cgi?id=20391

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #8 from Dlang Bot <dlang-bot@dlang.rocks> ---
@rainers created dlang/dmd pull request #10721 "fix Issue 20391 - [REG 2.089] DMD compile times increased by 40% beca…" fixing this issue:

- fix Issue 20391 - [REG 2.089] DMD compile times increased by 40% because ENABLE_RELEASE=0 in build

  build release with ENABLE_RELEASE=1

https://github.com/dlang/dmd/pull/10721

--
January 13, 2020
https://issues.dlang.org/show_bug.cgi?id=20391

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp@gmx.com

--- Comment #9 from Basile-z <b2.temp@gmx.com> ---
How worth is this to fix considering that there are plan to deactivate -release for the official build ?

https://github.com/dlang/dmd/pull/10679

--
« First   ‹ Prev
1 2