www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11250] New: Compile time almost doubled

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11250

           Summary: Compile time almost doubled
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: michal.minich gmail.com


--- Comment #0 from Michal Minich <michal.minich gmail.com> 2013-10-13 23:45:33
PDT ---
dmd 2.064 beta 1

Approximate timings
   28 seconds - dmd 2.063 + updated snn.lib
   52 seconds - dmd 2.064 beta 1

for compilation of vibed in VisualD, including deimos dependencies using
parameters similar to

-lib -g -debug -w -property -X -Xf"x.json" -Isource -deps="x.dep" -of"x.lib"
-map "x.map" -L/NOMAP

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 13 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11250


Dmitry Olshansky <dmitry.olsh gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh gmail.com


--- Comment #1 from Dmitry Olshansky <dmitry.olsh gmail.com> 2013-10-20
11:56:41 PDT ---
It looks a lot like a dup of 
http://d.puremagic.com/issues/show_bug.cgi?id=10866

Michal can you re-test with beta 2 of dmd 2.064?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 20 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11250



--- Comment #2 from Michal Minich <michal.minich gmail.com> 2013-10-20 12:09:55
PDT ---
(In reply to comment #1)
 It looks a lot like a dup of 
 http://d.puremagic.com/issues/show_bug.cgi?id=10866
 
 Michal can you re-test with beta 2 of dmd 2.064?
With dmd 2.064 beta 2 Approximate timings 28 seconds - dmd 2.063 + updated snn.lib 9 seconds - dmd 2.064 beta 2 So the build time is now 3 times faster the 2.063 and 6 times faster than beta 1! If that is not another bug it is incredible! My test was building single lib file ,about 11 mb, which is the same size as with 2.063. What enhancement(s) is causing this speedups? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 20 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11250


Benjamin Thaut <code benjamin-thaut.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code benjamin-thaut.de


--- Comment #3 from Benjamin Thaut <code benjamin-thaut.de> 2013-10-20 12:19:01
PDT ---
If you now use visual studio to build dmd 2.064 you should be down to 4
seconds.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 20 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11250



--- Comment #4 from Dmitry Olshansky <dmitry.olsh gmail.com> 2013-10-20
12:21:30 PDT ---
(In reply to comment #2)
 (In reply to comment #1)
 It looks a lot like a dup of 
 http://d.puremagic.com/issues/show_bug.cgi?id=10866
 
 Michal can you re-test with beta 2 of dmd 2.064?
With dmd 2.064 beta 2 Approximate timings 28 seconds - dmd 2.063 + updated snn.lib 9 seconds - dmd 2.064 beta 2 So the build time is now 3 times faster the 2.063 and 6 times faster than beta 1! If that is not another bug it is incredible! My test was building single lib file ,about 11 mb, which is the same size as with 2.063. What enhancement(s) is causing this speedups?
Well there was some work on reducing interdependencies and a few steps taken to avoid parsing rarely used stuff in Phobos (specifically unicode tables). Plus specifically for vibe.d there was this enhancement (unless you test with the old version): https://github.com/rejectedsoftware/vibe.d/pull/341 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 20 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11250



--- Comment #5 from Michal Minich <michal.minich gmail.com> 2013-10-20 12:43:29
PDT ---
(In reply to comment #4)

 Plus specifically for vibe.d there was this enhancement (unless you test with
 the old version):
 https://github.com/rejectedsoftware/vibe.d/pull/341
Well there was some work on reducing interdependencies and a few steps taken to avoid parsing rarely used stuff in Phobos (specifically unicode tables). I was testing on latest release 0.7.17 - without the specific vibe.d enhancement; so the "some work" and "few steps" you are referring to seems to really pay off. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 20 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11250


Dmitry Olshansky <dmitry.olsh gmail.com> changed:

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


--- Comment #6 from Dmitry Olshansky <dmitry.olsh gmail.com> 2013-10-20
13:01:19 PDT ---
(In reply to comment #5)
 (In reply to comment #4)
 
 Plus specifically for vibe.d there was this enhancement (unless you test with
 the old version):
 https://github.com/rejectedsoftware/vibe.d/pull/341
Well there was some work on reducing interdependencies and a few steps taken to avoid parsing rarely used stuff in Phobos (specifically unicode tables). I was testing on latest release 0.7.17 - without the specific vibe.d enhancement; so the "some work" and "few steps" you are referring to seems to really pay off.
I bet the compiler fix invlved still _did_ reduce the time. The pull for vibe was more of a workaround. Anyhow the time is back to "normal" so I'm closing this. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 20 2013