benchmark-performance

Compares build and runtime measurements to a stored baseline, producing PASS/FAIL/AMBIGUOUS outcomes.

1|Updated Jul 9, 2026
One-click install
npx skills add https://github.com/PiercingXX/xx-stack --skill benchmark-performance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: benchmark-performance
Source: https://github.com/PiercingXX/xx-stack/tree/main/runtime/skills/benchmark-performance
Command: npx skills add https://github.com/PiercingXX/xx-stack --skill benchmark-performance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It detects and explains performance regressions by comparing measurable build and runtime metrics against a recorded baseline, preventing slowdowns from reaching production unnoticed.

Core Features & Use Cases

  • Baseline-first regression testing: Records prior bundle/build size, latency percentiles, time-to-interactive, and key journey completion times before code changes.
  • Threshold-driven comparison: Flags regressions using defined limits for bundle size, p95 latency, TTI, and journey time so teams can prioritize fixes.
  • Actionable output and recovery states: Produces a PASS/FAIL/AMBIGUOUS report and distinguishes missing measurement signals from real deterministic regressions.

Quick Start

Use the benchmark-performance skill to compare current build and runtime measurements against the baseline and generate a regression report with recommended optimization directions.

Frequently Asked Questions about benchmark-performance

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

FAQPage Schema
How do I catch performance regressions in CI/CD before releasing?

Detect performance regressions by comparing build size and runtime metrics against a recorded baseline. It applies threshold-driven checks to CI/CD release gating, producing PASS, FAIL, or AMBIGUOUS outcomes for measurable latency and time-to-interactive signals.

What is baseline-first regression testing for bundle size and latency?

Baseline-first regression testing records prior bundle size, latency p95, and time-to-interactive metrics before code changes. It compares current measurements against this baseline to flag threshold-driven performance regressions before release.

How do I handle noisy or missing benchmark signals during release gating?

Handle noisy, missing, or transient benchmark signals during release gating by applying defined recovery policies. This distinguishes unavailable measurement signals from real deterministic regressions to produce accurate PASS, FAIL, or AMBIGUOUS reports.

Does performance benchmarking work for end-to-end user journey timings?

Yes, performance benchmarking works for end-to-end user journey timings. It compares current journey completion times against a recorded baseline using defined thresholds to flag regressions in your CI/CD workflow.

When should I use threshold-based regression testing for p95 latency?

Use threshold-based regression testing for p95 latency when your CI/CD workflow exposes measurable runtime timing metrics. It compares current latency percentiles against a baseline to automatically gate releases and prevent production slowdowns.