Thread overview
[Issue 10676] New: excessive compilation times with optimized PIC build
Jul 20, 2013
Martin Nowak
Jul 24, 2013
Walter Bright
Jul 24, 2013
yebblies
Jul 24, 2013
Walter Bright
July 20, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10676

           Summary: excessive compilation times with optimized PIC build
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: code@dawg.eu


--- Comment #0 from Martin Nowak <code@dawg.eu> 2013-07-19 18:58:39 PDT ---
../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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 24, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10676


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com
            Version|D2                          |D1 & D2


--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2013-07-23 21:21:08 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2375

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 24, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10676



--- Comment #2 from github-bugzilla@puremagic.com 2013-07-23 23:47:31 PDT ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 24, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10676


yebblies <yebblies@gmail.com> changed:

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


--- Comment #3 from yebblies <yebblies@gmail.com> 2013-07-24 16:50:42 EST ---
How about now?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 24, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10676



--- Comment #4 from github-bugzilla@puremagic.com 2013-07-24 00:18:27 PDT ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 24, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10676


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------