Thread overview
Profile DMD
Dec 01, 2011
Nick Sabalausky
Dec 01, 2011
Timon Gehr
Dec 01, 2011
Nick Sabalausky
December 01, 2011
Is there an easy way to profile DMD similar to how DMD itself has the -profile switch?


December 01, 2011
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
December 01, 2011
"Timon Gehr" <timon.gehr@gmx.ch> wrote in message news:jb8iak$2ucr$1@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.