rust-profiling

Installation
SKILL.md

Rust Profiling

End-to-end workflow: build with debug info → collect profile → collapsed stacks (primary analysis format) → flamegraph (visualization).

Format Strategy

Format Best for Tool
Collapsed stacks LLM analysis, awk parsing, diffs perf script | stackcollapse-perf.pl
SVG flamegraph Shareable, self-contained cargo flamegraph
Firefox Profiler Interactive human exploration samply record
Criterion HTML Benchmark regression tracking cargo bench
heaptrack Memory allocations + live heap heaptrack ./binary

Use collapsed stacks for LLM analysis. Format: frame1;frame2;leaf N — same as Go's pprof collapsed format.


Prerequisites

Installs
1
GitHub Stars
8
First Seen
Jun 3, 2026
rust-profiling — tstapler/dotfiles