top time wasters in DMD, as reported by gprof
dennis luehring
dl.soluz at gmx.net
Mon Jun 24 09:45:07 PDT 2013
Am 24.06.2013 18:15, schrieb Richard Webb:
> On Monday, 24 June 2013 at 15:04:37 UTC, dennis luehring wrote:
>>
>> i know - my question was - how does that look using msvc...
>>
>
>
> I just did a very quick test using the latest DMD source:
>
> Using the command line
>
> -release -unittest -c
> D:\DTesting\dmd.2.063\src\phobos\std\algorithm.d
>
>
> DMD built with DMC takes ~49 seconds to complete, but DMD build
> with VC2008 only takes ~12 seconds. (Need to get a proper VC
> build done to test it properly).
> Looks like the DMC build spends far more time allocating memory,
> even though the peak memory usage is only slightly lower in the
> VS version?
so it could be std library implementation related - can DMC use the msvc
libs? (just for the compare)
and you should also try 2010 - or better 2012 msvc (it still gets
speedier code out)
More information about the Digitalmars-d
mailing list