benchmark

Measures web performance regressions by comparing navigation and resource timing data against baselines.

46|13|Updated Jul 30, 2025
One-click install
npx skills add https://github.com/aimasteracc/tree-sitter-analyzer --skill benchmark-aimasteracc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: benchmark
Source: https://github.com/aimasteracc/tree-sitter-analyzer/tree/main/.claude/skills/benchmark
Command: npx skills add https://github.com/aimasteracc/tree-sitter-analyzer --skill benchmark-aimasteracc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Performance regression detection is essential for AI-assisted development to ensure pages remain fast across changes. The Skill standardizes how to baseline, compare, and alert on performance drift.

Core Features & Use Cases

  • Baseline capture for page performance metrics (TTFB, FCP, LCP, etc.) and resource usage.
  • PR-aware comparison to identify regressions and trend analysis over time.
  • Automated reports and dashboards to communicate performance health to stakeholders.

Quick Start

Run /benchmark with a URL to perform a full performance audit and compare against the current baseline.

Frequently Asked Questions about benchmark

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

FAQPage Schema
How do I detect web performance regressions in a pull request?

Web performance regression detection works by collecting navigation and resource timing data via a local browse daemon. It baselines page metrics like TTFB and LCP, then compares new audits against these saved JSON baselines to identify performance drift.

What is the best way to capture a baseline for web vitals analysis?

To capture a baseline for web vitals analysis, run a full-page audit on the target URL. This records core metrics like TTFB, FCP, and LCP into a standardized JSON benchmark format, establishing the reference point for future trend comparisons.

Do I need a browse daemon to measure navigation and resource timing?

Yes, a local browse daemon is required to collect navigation and resource timing data. The daemon gathers the raw timing metrics needed to generate baselines, apply diffs, and output comparison reports.

How does PR-aware performance benchmarking work for trend analysis?

PR-aware benchmarking compares new timing data against stored baseline JSON files during audits. It calculates diffs to alert on performance drift, enabling automated trend analysis of web vitals across multiple page changes over time.

Can I generate automated reports for web performance health?

Yes, you can generate automated reports for web performance health. After collecting timing data and comparing it against baselines, the Skill outputs reports and dashboards to communicate performance metrics to stakeholders.

What are the limitations of using JSON benchmark formats for regression detection?

A limitation of using JSON benchmark formats for regression detection is the strict requirement for pre-existing baseline files and a local browse daemon. Without these prerequisites, the Skill cannot collect timing data or output baseline comparisons.