Any takers for http://d.puremagic.com/issues/show_bug.cgi?id=9673?

Rainer Schuetze r.sagitario at gmx.de
Sun Mar 10 06:39:57 PDT 2013



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.


More information about the Digitalmars-d mailing list