Compile Times on Windows

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sat May 9 09:05:19 PDT 2015


On 5/9/15 3:44 AM, Dave Akers wrote:
> On Sat, 09 May 2015 10:17:29 +0000, weaselcat wrote:
>
>> On Saturday, 9 May 2015 at 10:00:53 UTC, Manfred Nowak wrote:
>>> zebrazebra wrote:
>>>> $ time dmd hello.d
>>>>
>>>> real    0m4.243s user    0m0.015s sys     0m0.031s
>>>
>>> $ time ./hello.d Hello, world!
>>>
>>> real    0m0.039s user    0m0.000s sys     0m0.015s
>>>
>>> Why is the "Hello, world!" missing in your post?
>>>
>>> -manfred
>>
>> he's timing compilation, not runtime.
>>
>> $ time dmd hello.d 0.30user 0.08system 0:00.40elapsed
>>
>> might be a windows issue?
>
> weaselcat: Are you running windows 8.1 as well?
>
> It might be disk access time. Or an anti-virus program interfearing?

So from the shape of the cmdline I infer this is the 32 bit compiler 
running under cygwin? These two elements might influence speed. -- Andrei



More information about the Digitalmars-d mailing list