#cargo-subcommand #cargo #profiling #heaptrack

app cargo-heaptrack

cargo subcommand for generating heaptrack flamegraphs

1 unstable release

0.1.0 Jul 27, 2023

#590 in Cargo plugins

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–3MB
~57K SLoC