What problem does it solve?
Designs benchmarks, profiles bottlenecks, and applies targeted optimizations to Rust code. Use this skill when the user wants to measure performance, write benchmarks, profile with flamegraphs, find bottlenecks, speed up slow operations, reduce memory usage, or set up CI performance regression testing. Triggers on: "benchmark", "profile", "flamegraph", "slow", "speed up", "how long does", "measure performance", "regression test", "criterion", "divan", "perf", "too slow", or any request to make Rust code faster with evidence. If someone says something takes too long and wants to fix it, this skill applies.
Core Features & Use Cases
- Benchmark Rust code with Criterion and Divan to establish baselines and compare changes.
- Profile hot paths using flamegraphs, memory profiling, and syscall analysis to locate bottlenecks.
- Guide end-to-end optimizations across CLI tools, libraries, and services written in Rust, including CI integration and regression testing.
Quick Start
Run a starter benchmark suite against your Rust project to identify bottlenecks and compare variants.