Skill / SKILL.md

Rust Performance

rewrite-rs/skills

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.
2 views 29 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/rewrite-rs/skills' skill-source

Use the complete skill-source/skills/rust/rust-performance directory with your client’s skill installer.

  • skills/rust/rust-performance

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/rust/rust-performance

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
cd2dcafc88a757cd166f7dd75eedc4075940c6a5700200cad8d9fdcb5dea332c
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills