Speed up compilation in Visual D
Alex
AJ at gmail.com
Sun Apr 28 22:02:13 UTC 2019
On Sunday, 28 April 2019 at 12:22:15 UTC, Rainer Schuetze wrote:
>
>
> On 28/04/2019 13:47, Alex wrote:
>> On Sunday, 28 April 2019 at 08:25:18 UTC, Rainer Schuetze
>> wrote:
>>>
>>>
>>> On 26/04/2019 09:52, Rainer Schuetze wrote:
>>>>> As if when generating the command line for single file
>>>>> compilation you forgot to append the additional options
>>>>> string to it.
>>>> Yes, looks like a bug in Visual D: it adds the additional
>>>> command line options to the link, but not to the single file
>>>> compiler invocations.
>>>>
>>>
>>> fixed in https://github.com/dlang/visuald/releases/tag/v0.49.2
>>
>> Man, it's really slow compiling!
>>
>> It took over 3 minutes to compile the same project that
>> compiles in 10 seconds with combined compile.
>
> Yes, it's usually that bad if you have a good number of
> dependencies
> (imports).
>
So I removed most of the gtkd import modules I wasn't using and
it went from 810 to 540. Didn't speed anything up but maybe 1/2 a
second.
I guess the compiler has no self profiling to figure out where it
is spending most of it's time?
More information about the Digitalmars-d-ide
mailing list