benchmark

Measure browser and API performance and compare build metrics against baselines.

1|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/ROYCE-8425/ai-marketing-hub --skill benchmark-royce-8425
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: benchmark
Source: https://github.com/ROYCE-8425/ai-marketing-hub/tree/main/skills/benchmark
Command: npx skills add https://github.com/ROYCE-8425/ai-marketing-hub --skill benchmark-royce-8425

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a comprehensive solution for measuring performance baselines, detecting regressions before/after PRs, and comparing stack alternatives, ensuring optimal performance and reliability.

Core Features & Use Cases

  • Page Performance Measurement: Measures real browser metrics like LCP, CLS, and INP, and resource sizes like page weight and JS bundle size.
  • API Performance Benchmarking: Benchmarks API endpoints for latency, response size, and status codes under load.
  • Build Performance Analysis: Measures development feedback loop metrics such as cold build time, hot reload time, and test suite duration.
  • Before/After Comparison: Run baseline and compare against post-change metrics to evaluate impact.
  • Use Case: Before deploying a new feature, run the benchmark to ensure it meets performance criteria and detect any potential regressions.

Quick Start

Set a baseline with /benchmark baseline, then make changes and compare with /benchmark compare.

Frequently Asked Questions about benchmark

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

FAQPage Schema
How do I detect performance regressions before merging a pull request?

Performance regression detection works by establishing a baseline, making code changes, and comparing post-change metrics. This Skill evaluates browser, API, and build metrics to identify deviations, ensuring your PR meets performance criteria before deployment.

What is the best way to measure web application performance baselines?

Web application performance baselines are measured by capturing metrics like LCP, CLS, INP, and page weight. This Skill records these real browser metrics and resource sizes to establish a reliable reference point for future comparisons.

Can I benchmark API endpoints for latency and response size under load?

Benchmarking API endpoints for latency, response size, and status codes under load is fully supported. This Skill evaluates API performance to ensure endpoints comply with performance SLAs and handle stress effectively.

How do I measure development feedback loop metrics like cold build and hot reload time?

Development feedback loop metrics like cold build time, hot reload duration, and test suite execution are measured by analyzing build processes. This Skill quantifies development speed and identifies bottlenecks in your workflow.

Does this benchmarking approach work for comparing different stack alternatives?

Comparing stack alternatives is supported by running baseline and comparison benchmarks across different configurations. This Skill measures the resulting performance metrics to help you evaluate and select the optimal technology stack.

When do I need to run a performance benchmarking script?

Running a performance benchmarking script is necessary before deploying new features or changing dependencies to ensure optimal performance. This Skill detects potential regressions and verifies compliance with performance SLAs post-code changes.