Find what makes your Rust code slow or bulky.
Guides Rust performance investigations with flamegraphs, binary-size measurements, and microbenchmarks.
When to use it
Use when profiling Rust performance, investigating binary size or monomorphization bloat, or writing Criterion benchmarks.
Give it a Rust project to profile; it builds the program with debug symbols and generates a flamegraph.
What you provide
No setup requirements listed.
This skill
/proc/sys/kernel/perf_event_paranoid
Changes Linux profiling permissions (irreversible)
/proc/sys/kernel/kptr_restrict
Allows access to kernel symbols (irreversible)
flamegraph
Installs the flamegraph tool
cargo-bloat
Installs cargo-bloat