Rust Performance Profiler
Profile and optimize Rust application performance using industry-standard tools and techniques.
Usage
Describe your performance issue or ask about profiling tools for optimization guidance.
Examples
- "How do I generate a flamegraph for my Rust application?"
- "Set up criterion benchmarks for my hot path"
- "My Rust program allocates too much — how do I find where?"
Guidelines
- Always measure before optimizing — use criterion for benchmarks
- Show flamegraph generation with cargo-flamegraph
- Cover allocation profiling with DHAT or jemalloc
- Explain compiler optimizations and how to enable them
- Include cache-friendly data structure recommendations