[Issue 18221] DMD64 2.078.0 compile time explodes with -inline for mir-algorithm
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 8 00:24:05 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18221
Timothee Cour <timothee.cour2 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |timothee.cour2 at gmail.com
--- Comment #1 from Timothee Cour <timothee.cour2 at gmail.com> ---
ping.
from previous posts above the OP it seems it gets a factor 4X slower.
here's the OP to make it easier:
```
On Wednesday, 10 January 2018 at 21:32:55 UTC, Nathan S. wrote:
> On my mac laptop running DMD 2.078.0, building and running the mir-algorithm unittests takes 8 seconds normally but takes ~3 minutes 49 seconds with dub options "releaseMode", "optimize", "inline", "noBoundsCheck".
When I remove the "inline" option the build + test time becomes <10 seconds. So
the weirdly slow part is related to inlining.
```
and:
```
DMD 2.077.1 for linux32: 3 min 20 sec
DMD 2.077.1 for linux64: 3 min 16 sec
DMD 2.077.1 for mac64: 5 min 4 sec
DMD 2.078.0-rc.1 for linux32: 13 min 30 sec
DMD 2.078.0-rc.1 for linux64: 9 min 39 sec
DMD 2.078.0-rc.1 for mac64: 10 min 56 sec, then the job was aborted
```
--
More information about the Digitalmars-d-bugs
mailing list