This Claude skill is a comprehensive performance engineering suite for Rust developers, offering advanced CPU profiling, memory analysis, and benchmarking capabilities. It enables precise identification of bottlenecks and provides actionable optimization strategies using industry-standard tools like Criterion, Flamegraph, and Valgrind to ensure high-performance, resource-efficient Rust applications.
Use Cases
Identifying and resolving CPU execution bottlenecks in high-performance Rust services using Flamegraph visualizations.
Conducting rigorous micro-benchmarking with Criterion to validate performance improvements across different code iterations.
Analyzing heap memory allocation and detecting potential leaks in long-running Rust applications using Valgrind and Heaptrack.
Optimizing binary sizes for cloud-native or embedded deployments by identifying bloated dependencies with cargo-bloat.
Implementing Profile-Guided Optimization (PGO) workflows to maximize the runtime efficiency of production-grade Rust binaries.
name
Performance Analysis and Optimization
description
CPU profiling, benchmarking, and memory analysis for Rust applications. Use when code is slow, memory usage is high, or optimization is needed.