First run after build on Windows is slow

phs some.body at mail.com
Tue Jun 26 12:40:05 UTC 2018


On Tuesday, 26 June 2018 at 12:26:45 UTC, rikki cattermole wrote:
> On 27/06/2018 12:25 AM, phs wrote:
>> Hello. I've made a simple hello world program using dub and 
>> dmd for Windows. Everything works well, except that every 
>> first run after each rebuild takes around 3 seconds just to 
>> start up. Is it normal at all?
>
> Its normal if you don't add an exclusion for that directory in 
> your anti-virus.

Thank you for the hint. Disabling the Windows Defender helped to 
resolve this issue. Although, it's a little bit strange because I 
have never had this issue with my C++ development.


More information about the Digitalmars-d-learn mailing list