On 10.03.2013 13:11, Vladimir Panteleev wrote:
On Sunday, 10 March 2013 at 11:25:13 UTC, Rainer Schuetze wrote:
- combined compilation    6s
- single file compilation 1min4s

Using dmd compiled with dmc instead of cl makes these times 17s and
1min39s respectively)

Holy smokes! Are you saying that I can speed up compilation of D
programs by almost 3 times just by building DMD with Microsoft's C++
compiler instead of the DigitalMars one?

My usual estimate is about twice as fast, but it depends on what you compile. It doesn't have a huge effect on running the test suite, my guess is that the runtime initialization for the MS build is slightly slower than for the dmc build, and there are a large number of small files to compile there. Also, it's quite difficult to get accurate and reproducable benchmarking numbers these days, with the (mobile) processors continuously changing their performance.

Reply via email to