rust-performance
Installation
SKILL.md
Rust Performance
Use this skill for Rust optimization work that needs disciplined measurement, targeted changes, and explicit trade-offs, following the methodologies from The Rust Performance Book (https://nnethercote.github.io/perf-book/).
When to Use This Skill
- Runtime performance is too slow in
--release - Memory usage, allocation rate, or
memcpytraffic is high - Binary size needs to shrink
- Compile times are slow or regressing
- Profilers show confusing stacks, symbols, or hotspots
HashMap, iterators, I/O, logging, or synchronization appear hot- Inlining decisions need tuning (function call overhead is hot)
- Machine code inspection needed for bounds checks or missed vectorization
- You need a Rust-specific optimization workflow instead of generic advice