인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
개발 및 엔지니어링 · SKILL.md

rust-library-performance-features

rust-library-performance-features

Optimize Rust libraries with criterion benchmarks, feature-flag matrices, cargo bench workflows, dependency gating, regression baselines, and evidence-driven API performance tradeoffs. Use when adding or reviewing Rust library benchmarks, cargo features, optional dependencies, or performance claims before publishing.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: rust-library-performance-features description: Optimize Rust libraries with criterion benchmarks, feature-flag matrices, cargo bench workflows, dependency gating, regression baselines, and evidence-driven API performance tradeoffs. Use when adding or reviewing Rust library benchmarks, cargo features, optional dependencies, or performance claims before publishing. license: MIT compatibility: Codex, Claude Code, and other Agent Skills-compatible clients. metadata: version: "0.1.0" displayName: Rust Library Performance Features category: Rust tags: rust,performance,benchmarking,cargo-features,library

Rust Library Performance Features

Use this skill when a Rust library needs performance work that can be measured and shipped behind clear Cargo feature boundaries.

Core Workflow

  1. Define the library operation and input sizes that matter to downstream users.
  2. Add or repair benchmarks before optimizing.
  3. Compare baseline and candidate implementations with the same harness.
  4. Use Cargo features for optional capabilities and dependencies.
  5. Test the feature matrix, including default features disabled.
  6. Document performance claims with scope and measurement commands.

Read Next

TaskLoad
Add benchmarks or optimize a hot pathguidelines.md, workflows/benchmark-feature-matrix.md
Review Cargo features and optional dependenciesreferences/performance-feature-patterns.md
Validate performance claims before releasereferences/performance-feature-patterns.md

Source Notes

Guidance is transformed and paraphrased from Herbert Wolverson, Advanced Hands-On Rust, especially Chapters 2 and 3 on creating, testing, optimizing, benchmarking, and feature-gating a library. Examples are original skeletons.

저장한 Skills