Coding Rust Performance Review

Use when Rust is slow or its performance needs a benchmark - criterion, flamegraph, samply, perf, heaptrack, DHAT, clones, with_capacity, spawn_blocking, an .await with a std Mutex guard held across it, blocking calls in async code, Regex::new or format! inside a loop, needless allocations, a Vec or String grown without capacity, unbuffered I/O, clippy perf lints, cargo bench, release-profile settings (lto, codegen-units, debug symbols), or timing a change between two Rust builds.

bitranox Updated 1 repo stars

File contents

bitranox/bitranox-skills commit 33c49cdc84

Frequently asked questions

npx get-skill add bitranox/coding-rust-performance-review