coding/rust-performance/SKILL.md
Rust performance workflow: benchmark and profile first, identify hotspots, reduce allocations and contention, improve data layout, tune release profiles, and verify gains with repeatable evidence. Use only after you have a real Rust performance symptom, regression, or hotspot in `.rs` code.
npx skillsauth add aeondave/malskill rust-performanceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill is about measurement-first optimization in Rust.
If the task is primarily code style, ownership, or API design, use rust-patterns first.
Make the problem measurable
Capture evidence
Analyze the bottleneck
Apply targeted fixes
Verify the result
dhat, heaptrack)Load on demand:
references/measurement-workflow.md — use when defining benchmarks, baselines, and release settingsreferences/profiling.md — use when choosing CPU, heap, allocation, or contention profilersreferences/allocations-and-data-layout.md — use when the bottleneck smells like cloning, heap churn, or cache localityreferences/concurrency-and-throughput.md — use when evaluating Rayon, async throughput, locks, channels, or backpressuredevelopment
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.