#cargo-subcommand #cargo #profiling #heaptrack

app cargo-heaptrack

cargo subcommand for generating heaptrack flamegraphs

1 unstable release

0.1.0 Jul 27, 2023

#502 in Cargo plugins

24 downloads per month

MIT/Apache

16KB
370 lines

cargo-heaptrack

A cargo subcommand to profile executables with heaptrack.

The code is 99% copied from cargo-flamegraph since all the logic for command line parsing and finding targets is the same. The only difference is that instead of running perf, this subcommands calls heaptrack. The original copyright notices have been preserved.

Dependencies

~2–2.9MB
~56K SLoC