Profiling

mw mingwu at gmail.com
Wed Feb 10 23:42:31 UTC 2021


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'
```



More information about the Digitalmars-d-learn mailing list