[Issue 6643] Very slow compilation for large switch() using -O and -inline
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Sep 10 21:13:45 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6643
--- Comment #2 from Ben Eirich <beirich2 at gmail.com> 2011-09-10 21:13:25 PDT ---
Created an attachment (id=1024)
trace.log and trace.def
First, I commented out half of the case statements, and this dropped the -O
-inline compile time from 15 minutes to 2 minutes. So there is some definite
non-linearity happening there.
Then, I compiled DMD 2.055 with it's "trace" makefile setting. I used that
version of DMD to compile the half-size test case with -O -inline. This took a
very long time with instrumentation - over an hour.
In any case, I attached the resulting trace.log and trace.def. It doesn't
really mean anything to me, so I hope it means something to someone here!
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list