Profiling

Imperatorn johan_forsberg_86 at hotmail.com
Fri Feb 12 07:29:34 UTC 2021


On Wednesday, 10 February 2021 at 23:42:31 UTC, mw wrote:
> On Wednesday, 10 February 2021 at 11:52:51 UTC, JG wrote:
>>
>> As a follow up question I would like to know what tool people 
>> use to profile d programs?
>
> I use this one:
>
> https://code.dlang.org/packages/profdump
>
> e.g.
>
> ```
> dub build --build=debug --build=profile
>
> # run your program to generate trace.log
>
> profdump -b trace.log trace.log.b
> profdump -f --dot --threshold 1 trace.log trace.log.dot
> echo 'view it with: xdot trace.log.dot'
> ```

Nice, didn't even know that existed


More information about the Digitalmars-d-learn mailing list