Rust Performance Optimizer

•
596
•

Optimizes Rust application performance through systematic profiling, memory management, and efficient data structure selection.

The m10-performance skill provides a comprehensive framework for identifying and resolving performance bottlenecks in Rust projects. It guides developers through a disciplined 'measure-first' approach using industry-standard tools like Criterion and Flamegraphs, offering specific implementation patterns for reducing allocations, improving cache locality, and leveraging parallelism. By integrating performance Service Level Agreements (SLAs) with low-level implementation choices, it ensures that optimizations are both effective and maintainable while avoiding common pitfalls like premature optimization or cache-unfriendly data structures.

주요 기능

01Systematic profiling and benchmarking guidance using Criterion and cargo-bench
02Algorithmic and data structure trade-off analysis for maximum throughput
03Memory optimization strategies including pre-allocation and zero-copy patterns
04Identification of performance anti-patterns like unnecessary cloning or boxing
05Cache-efficient data layout recommendations to minimize CPU stalls
06596 GitHub stars

사용 사례

01Reducing latency in high-throughput backend services and performance-critical APIs
02Optimizing memory usage and allocation patterns in resource-constrained environments
03Refactoring hot paths in computation-heavy Rust libraries using SIMD or parallelism