rust-performance

Installation
SKILL.md

Performance Optimization

Profiling First

cargo install flamegraph && cargo flamegraph --bin myapp  # CPU
cargo bench                                                # Benchmarks (criterion)
valgrind --tool=cachegrind ./target/release/myapp          # Cache analysis
Rule Guideline
Use mimalloc as global allocator in apps M-MIMALLOC-APPS
Profile hot paths early with criterion/divan M-HOTPATH
Optimize items/CPU-cycle, avoid empty cycles M-THROUGHPUT
yield_now().await every 10-100us in CPU loops M-YIELD-POINTS

Allocation Avoidance

Installs
3
GitHub Stars
3
First Seen
Feb 9, 2026
rust-performance — peixotorms/odinlayer-skills