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

Rainer Schuetze r.sagitario at gmx.de
Sun Mar 10 04:25:08 PDT 2013



On 10.03.2013 11:32, Vladimir Panteleev wrote:
> On Sunday, 10 March 2013 at 10:27:38 UTC, Rainer Schuetze wrote:
>> In my experience single file compilation of medium sized projects is
>> unacceptably slow. Much slower than what you are used to by similar
>> sized C++ projects.
>
> Even when taking advantage of multiple CPU cores?

I don't have support for building on multiple cores, but trying it on 
visuald itself (48 files) yields

- combined compilation    6s
- single file compilation 1min4s

You'd need a lot of cores to be better off with single file compilation.

These are only the plugin files, not anything in the used libraries 
(about 300 more files). Using dmd compiled with dmc instead of cl makes 
these times 17s and 1min39s respectively)

Almost any change causes a lot of files to be rebuilt (just tried one, 
took 49s to build).


More information about the Digitalmars-d mailing list