Rust Performance

Profile before optimizing, cut allocation out of hot paths, and treat LTO, codegen-units, PGO and target-cpu as the last five percent. Use when Rust code is too slow, when a benchmark regresses, when reviewing code that allocates or formats inside a loop, when release-profile or codegen flags come up, or when the user asks how to make Rust faster.

rewrite-rs Updated 18 repo stars

File contents

rewrite-rs/skills commit b16b66b39c

Frequently asked questions

npx get-skill add rewrite-rs/rust-performance