bench

Benchmark Moon performance across modes and generate a Markdown report.

2|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/pilotspace/moon --skill bench-pilotspace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bench
Source: https://github.com/pilotspace/moon/tree/main/.claude/skills/bench
Command: npx skills add https://github.com/pilotspace/moon --skill bench-pilotspace

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Benchmarks Moon performance across modes to identify regressions and guide optimization.

Core Features & Use Cases

  • Flexible benchmark modes: micro, production, resources, profile, and all to cover different load profiles.
  • Generates comparable results and a concise Markdown report for easy sharing.
  • Reproducible runs with scripted steps and invocations in CI or local development.

Quick Start

Invoke the bench skill with a mode (e.g., micro) to start the suite.

Frequently Asked Questions about bench

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

FAQPage Schema
How do I benchmark Moon performance to identify bottlenecks?

Benchmarking Moon performance involves running targeted tests across micro, production, resources, and profile modes to compare throughput, latency, and resource usage, yielding a Markdown report that identifies bottlenecks and guides optimization efforts.

What is the difference between micro and production benchmarking modes in cargo-bench?

Micro benchmarking targets isolated component load profiles for granular latency measurement, whereas production benchmarking simulates real-world throughput scenarios across the entire Moon system to identify broader resource usage and performance bottlenecks.

Can I run Moon latency and throughput tests in a CI environment?

Yes, you can run Moon latency and throughput tests in CI by applying scripted benchmark steps with optional flags like --shards and --duration, ensuring reproducible runs that produce a comparable results report for regression tracking.

Does the Moon benchmark skill support resource profiling?

Yes, the skill supports resource profiling through the dedicated resources and profile modes, allowing you to measure and compare CPU and memory usage alongside throughput and latency metrics during performance testing.

What is the best way to compare Moon performance results across different test runs?

The best way to compare Moon performance results is by generating the skill's concise Markdown report, which formats throughput, latency, and resource usage data into an easily shareable summary for tracking regressions across reproducible runs.

Why should I use --shards and --duration flags when profiling Moon latency?

Using the --shards and --duration flags when profiling Moon latency allows you to control test segmentation and execution time, ensuring reproducible benchmark runs that yield stable throughput and resource usage measurements for accurate bottleneck identification.