What problem does it solve? Rust workloads that run slowly, regress in benchmarks, grow in binary size, or build slowly need measurement before any code change, and this Skill provides the exact profiler commands, profile configurations, and verification rules to get trustworthy numbers on host, Android, and iOS. ## Core Features & Use Cases - Profiling setup and tool selection: Defines a symbolized profiling Cargo profile and routes to samply, cargo flamegraph, perf, simpleperf, Perfetto, Instruments, heaptrack, and DHAT per platform. - Benchmarking and CI gates: Covers Criterion and Gungraun baselines, the two-size scaling check that proves a benchmark measured real work, and regression gates that actually fail. - Size and build-time tuning: Uses cargo-bloat, cargo-llvm-lines, and cargo --timings to diagnose monomorphization bloat, then tunes LTO, codegen-units, opt-level, PGO, allocators, and rayon thread pools. - Use Case: A mobile app's Rust library grew after a dependency bump. Run cargo bloat --locked --profile <ship-profile> --target aarch64-linux-android --crates before and after, then use cargo llvm-lines on the top crate to find the new monomorphizations. ## Quick Start Ask the agent to profile your slow Rust binary with a flamegraph using the profiling profile and identify the hotspot.