Profiling DMD's Compilation Time with dmdprof

rikki cattermole rikki at cattermole.co.nz
Sat Nov 17 12:36:30 UTC 2018


On 18/11/2018 1:29 AM, welkam wrote:
> I just updated DMD on my windows and tried to compile hello world. It 
> took 7.4 sec. Something is not right. Can anyone reproduce? On the same 
> mashine running linux it compiles and runs in 0.1 sec
> 
> PS C:\Users\Welkam\Desktop\Projects> Measure-Command {dmd -run main.d}
> 
> 
> Days              : 0
> Hours             : 0
> Minutes           : 0
> Seconds           : 7
> Milliseconds      : 418
> Ticks             : 74184371
> TotalDays         : 8.58615405092593E-05
> TotalHours        : 0.00206067697222222
> TotalMinutes      : 0.123640618333333
> TotalSeconds      : 7.4184371
> TotalMilliseconds : 7418.4371

Just in case, did you disable your anti-virus first?


More information about the Digitalmars-d-announce mailing list