perf-machine

Optimize Rust build profiles, test parallelization, and disk usage in CI pipelines.

Updated Jun 24, 2025
One-click install
npx skills add https://github.com/gtnix/quant_b3_backtest --skill perf-machine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perf-machine
Source: https://github.com/gtnix/quant_b3_backtest/tree/main/.cursor/skills/perf-machine
Command: npx skills add https://github.com/gtnix/quant_b3_backtest --skill perf-machine

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Machine performance engineering eliminates slow test runs, excessive disk usage, and CI bottlenecks by tuning machine-level operations in Rust-based pipelines, without changing business logic.

Core Features & Use Cases

  • Build and test acceleration: tune cargo build/test profiles, enable parallel test execution, and reduce overall CI time.
  • Disk and cache management: monitor and trim target/, cache/, and artifact directories to maintain predictable disk usage.
  • CI reliability and efficiency: improve caching strategies and parallelization to shorten feedback loops in local and CI environments.

Quick Start

Run the performance optimization workflow to baseline metrics, apply targeted improvements, and verify gains.

Frequently Asked Questions about perf-machine

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I speed up Rust CI builds and reduce test execution time?

Speed up Rust CI builds by tuning cargo build profiles, enabling parallel test execution, and optimizing caching strategies to achieve faster test cycles and deterministic builds.

What's the best way to reduce disk usage from Rust target and cache directories?

Reduce Rust disk usage by monitoring and trimming target/, cache/, and artifact directories, applying disk and artifact management rules to maintain a predictable disk footprint.

Can I optimize Rust build performance without changing my application's business logic?

Yes, you can optimize Rust build performance through machine-level operations like build profile tuning and test parallelization, which improve CI efficiency without altering business logic.

How does incremental compilation guidance improve local and CI Rust workflows?

Incremental compilation guidance improves Rust workflows by reducing redundant compilation overhead, shortening feedback loops, and ensuring deterministic builds across local and CI environments.

Does this performance optimization workflow apply to release builds or just local testing?

This performance optimization applies to local, CI, and release workflows, tuning build profiles and managing artifacts to ensure efficiency and predictable disk usage across all environments.