rust-performance-best-practices

Community

Master Rust performance with proven optimization rules.

Authormcart13
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rust performance can be elusive and time-consuming to optimize without a structured, repeatable workflow. The guide provides a comprehensive, rule-based approach to identifying bottlenecks, applying targeted optimizations, and validating improvements across build profiles, allocations, concurrency, and I/O.

Core Features & Use Cases

  • 45+ rules across 9 categories covering build profiles, allocation strategies, data structures, iteration patterns, concurrency, I/O, and low-level unsafe tips, with benchmarks and profiling workflows.
  • Use cases include latency-sensitive services, large-crate builds, binary-size reductions, and optimization of async runtimes like Tokio.
  • Provides measurement-first workflows, safe optimization patterns, and guidance to reproduce improvements across teams.

Quick Start

Profile a Rust project to identify hotspots, then apply the top performance rules to iterate toward measurable improvements.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rust-performance-best-practices
Download link: https://github.com/mcart13/dev-skills/archive/main.zip#rust-performance-best-practices

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.