top | item 44521374

(no title)

the-wumpus | 7 months ago

pprof doesn't do an amazing job of explaining how to use it with perf (which you'd need to use for a rust project like OP), so:

First install perf, graphviz, perf_data_converter and ofc pprof, then generate the data with `perf record [command]`, and display it with `pprof -http=: perf.data`.

discuss

order

IshKebab|7 months ago

I typically use gperftools for profiling instead of perf. You can LD_PRELOAD it.