cargo-flamegraph

Also known as: cargo flamegraph

cargo-flamegraph is a Cargo subcommand that profiles a Rust program with tools such as perf and renders the result as a flame graph.

See the flamegraph project.