perf-loop - Rust Performance Optimization Loop
Optimizes Rust performance using a strict measure-hypothesize-change-remeasure cycle with specific profiling tools and playbooks.
Tags
Updated: 2026-09-21Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Measure baseline performance
- Profile CPU and allocation bottlenecks
- Formulate optimization hypotheses
- Apply targeted performance playbooks
- Remeasure and verify changes
- Revert ineffective code changes
Inputs
- Focus area or target function
- Rust codebase and Cargo configurations
- Benchmark scripts and profiling binaries
Outputs
- Profiling data and performance logs
- Code commits or git reverts
- Performance summary reports
Requirements
- Rust toolchain and Cargo
- Profiling tools like samply and hyperfine
- Node.js and pnpm environment
- Minimum 20 GiB free disk space
