Bug 10676 – excessive compilation times with optimized PIC build

Status
RESOLVED
Resolution
FIXED
Severity
blocker
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2013-07-19T18:58:00Z
Last change time
2015-06-09T05:11:56Z
Assigned to
nobody
Creator
code

Comments

Comment #0 by code — 2013-07-19T18:58:39Z
../dmd/src/dmd -I../druntime/import -c -unittest -m32 std/algorithm.d 3.9s ../dmd/src/dmd -I../druntime/import -c -unittest -m32 -O std/algorithm.d 5.8s ../dmd/src/dmd -I../druntime/import -c -unittest -m32 -fPIC std/algorithm.d 4.0s ../dmd/src/dmd -I../druntime/import -c -unittest -m32 -O -fPIC std/algorithm.d 1.5min Profiling showed that over 90% of the time is spent in list_append (called by listrds) during constant propagation.
Comment #1 by bugzilla — 2013-07-23T21:21:08Z
Comment #2 by github-bugzilla — 2013-07-23T23:47:31Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/2e86cf1102c144a7d2efc1e720ab7476916a4e17 fix Issue 10676 - excessive compilation times with optimized PIC build https://github.com/D-Programming-Language/dmd/commit/c2ae114f110e5663d35b0ba4fc09c808993c383f Merge pull request #2375 from WalterBright/fix10676 fix Issue 10676 - excessive compilation times with optimized PIC build
Comment #3 by yebblies — 2013-07-23T23:50:42Z
How about now?
Comment #4 by github-bugzilla — 2013-07-24T00:18:27Z
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6ae4c60f8ddf38fe7cc4c41a8db76d74d10f8964 Merge pull request #2375 from WalterBright/fix10676 fix Issue 10676 - excessive compilation times with optimized PIC build