Rust Profiling
Rust profiling workflow covering flamegraphs, binary size, monomorphization bloat, and Criterion microbenchmarks.
- CCM score
- 60 of 100
- skills.sh installs
- 810
- GitHub stars
- 303
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full profiling path: build with debug symbols, flamegraphs, binary size, monomorphization bloat, benchmarks, and allocation tracing
- Includes
cargo flamegraph,cargo bloat,cargo llvm-lines, and Criterion setup, plus perf and heaptrack/DHAT commands - Shows a before-and-after thin generic wrapper pattern to reduce monomorphization copies in
cargo llvm-linesoutput - Designed for Rust developers diagnosing slow programs or oversized binaries, with links to related profiler skills
Install
$ npx -y skills add mohitmishra786/low-level-dev-skills --skill rust-profiling -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Rust Profiling
Purpose
Guide agents through Rust performance profiling: flamegraphs via cargo-flamegraph, binary size analysis, monomorphization bloat measurement, Criterion microbenchmarks, and interpreting profiling results with inlined Rust frames.
Triggers
- "How do I generate a flamegraph for a Rust program?"
- "My Rust binary is huge — how do I find what's causing it?"
- "How do I write Criterion benchmarks?"
- "How do I measure monomorphization bloat?"
- "Rust performance is worse than expected — how do I profile it?"
- "How do I use perf with Rust?"
Workflow
1. Build for profiling
# Release with debug symbols (needed for readable profiles)
# Cargo.toml:
[profile.release-with-debug]
inherits = "release"
debug = true
cargo build --profile release-with-debug
# Or quick: release + debug info inline
CARGO_PROFILE_RELEASE_DEBUG=true cargo build --release
2. Flamegraphs with cargo-flamegraph
# Install
cargo install flamegraph
# Linux: uses perf (requires perf_event_paranoid ≤ 1)
sudo sh -c 'echo 1 > /proc/sys/kernel/perf_event_paranoid'
cargo flamegraph --bin myapp -- arg1 arg2
Details
- Repository
- github.com/mohitmishra786/low-level-dev-skills
- Categories
- Rust, Debugging
- First seen
- Jun 3, 2026
Questions
What is rust-profiling?
rust-profiling is an agent skill listed on Claude Marketplaces in the Rust category. The listing describes rust-profiling like this: Rust profiling skill for performance analysis.
How do I install rust-profiling?
Run npx -y skills add mohitmishra786/low-level-dev-skills --skill rust-profiling -y in a project to install rust-profiling. After that, the agent can use rust-profiling in that project.
Which category is rust-profiling in?
rust-profiling is in the Rust category on Claude Marketplaces. On that category page, rust-profiling ranks in the top 100.
Where is the source code of rust-profiling?
The source code of rust-profiling is on GitHub at https://github.com/mohitmishra786/low-level-dev-skills. The mohitmishra786 account on GitHub publishes rust-profiling.
More from mohitmishra786/low-level-dev-skills
All 54- Elf Inspection806
- Simd Intrinsics802
- Assembly Arm800
- Lldb800
- Memory Model800
- Make789
- Heaptrack779
- Ninja778
- Freertos774
- Linux Kernel Modules772
- Msvc Cl772
- Ebpf765
- Fuzzing761
- Binutils759
- Linkers Lto753
- Conan Vcpkg747
- Rust Security744
- Dynamic Linking737
- Rust Ffi713
- Rust Sanitizers Miri713
- Rust Unsafe705
- Pgo695
- Interpreters689
- Cargo Workflows686
Similar to Rust Profiling
More Rustm10-performanceactionbook/rust-skills4.2K installsRust performance guidance that stresses profiling first, then maps bottlenecks to allocation, cache, parallelism, and algorithm fixes.
flamegraphsmohitmishra786/low-level-dev-skills837 installsGenerate, convert, and read flamegraphs from perf, Callgrind, Go, DTrace, or Java profiler output for bottleneck analysis.
heaptrackmohitmishra786/low-level-dev-skills779 installsLinux heap profiler that records allocation traces, finds leaks, and compares memory use across runs.
profiling-optimizationaj-geddes/useful-ai-prompts458 installsStructured profiling workflow covering CPU profiling, flame graphs, and benchmarking for performance bottlenecks.
performance-profileralirezarezvani/claude-skills794 installsProfiles slow endpoints, memory leaks, and bundle bloat in Node.js, Python, and Go, always measuring before and after.
perf-profilercomposio-community/awesome-claude-plugins2K starsEvidence-backed CPU and memory profiling that captures hotspots with file:line and flame graph artifacts.