bench-compare

Automate benchmark execution and comparison across git branches into Markdown tables.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/strawgate/agent-skills --skill bench-compare-strawgate
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bench-compare
Source: https://github.com/strawgate/agent-skills/tree/main/bench-compare
Command: npx skills add https://github.com/strawgate/agent-skills --skill bench-compare-strawgate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the manual effort of running benchmarks across different branches and calculating performance regressions or improvements.

Core Features & Use Cases

  • Automated Baseline Comparison: Automatically switches branches to run benchmarks against a baseline like main or a previous commit.
  • Performance Reporting: Generates a clean, formatted Markdown table for PR bodies, highlighting regressions and improvements.
  • Use Case: When submitting a performance-sensitive PR, use this skill to generate a comparison table that proves your changes improve execution time without introducing regressions.

Quick Start

Run the bench-compare skill to compare the current branch against the main branch and generate a summary table.

Frequently Asked Questions about bench-compare

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

FAQPage Schema
How do I automate benchmark comparisons for pull requests?▼

Automating benchmark comparisons for pull requests involves switching between git branches, running standard benchmark runners like cargo bench, and formatting the performance differences into a Markdown table for the PR body.

What is performance regression testing in git branches?▼

Performance regression testing in git branches is the process of executing benchmarks against a baseline commit and a feature branch to calculate execution time differences, ensuring new code changes do not degrade software performance.

Does bench-compare work with standard build systems like cargo bench or just?▼

Yes, the skill requires standard benchmark runners like cargo bench or just to execute performance tests, capturing their output to facilitate automated baseline comparison across different git commits.

How do I generate a performance benchmark table for a PR body?▼

You can generate a performance benchmark table for a PR body by running the skill against your current branch and a baseline like main, which captures the benchmark output and formats the results into a clean Markdown table highlighting improvements and regressions.

Do I need git installed to automate benchmark comparisons?▼

Yes, you need git installed because the skill uses git for branch management to automatically switch between the baseline and the target branch to execute and compare benchmark results.