Profile DMD

Nick Sabalausky a at a.a
Thu Dec 1 11:28:18 PST 2011


"Timon Gehr" <timon.gehr at gmx.ch> wrote in message 
news:jb8iak$2ucr$1 at digitalmars.com...
> On 12/01/2011 07:42 PM, Nick Sabalausky wrote:
>> Is there an easy way to profile DMD similar to how DMD itself has
>> the -profile switch?
>>
>>
>
> Use DMC, I guess. http://www.digitalmars.com/ctg/trace.html

Ah, ok, and it looks like DMD's makefile (at least on windows) has a target 
"trace"  that includes the appropriate switches. So...

make -f win32.mak trace

...seems to do the trick.




More information about the Digitalmars-d-learn mailing list