benchmark

Measure performance baselines and detect regressions for web applications and APIs.

Updated Nov 19, 2025
One-click install
npx skills add https://github.com/Sake-Team/SmartSake --skill benchmark-sake-team
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: benchmark
Source: https://github.com/Sake-Team/SmartSake/tree/main/backup/skills/benchmark
Command: npx skills add https://github.com/Sake-Team/SmartSake --skill benchmark-sake-team

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

  • Performance Baseline Measurement: Establish and maintain performance baselines for your project.
  • Regression Detection: Identify performance regressions before/after code changes.
  • Stack Comparison: Compare the performance of different stacks to optimize your project.
  • Use Case: Before deploying a new feature, use the benchmark skill to compare its performance against the current baseline and detect any regressions.

Quick Start

To measure performance baselines, run /benchmark baseline. To compare against a baseline, run /benchmark compare.

Frequently Asked Questions about benchmark

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

FAQPage Schema
How do I measure performance baselines for web applications and APIs?

To measure performance baselines for web applications and APIs, you can run a dedicated command to capture core metrics like LCP, CLS, FCP, TTFB, and latency. The results are stored in a JSON file for ongoing analysis and regression detection.

How do I detect performance regressions before deploying a code change?

You can detect performance regressions by executing benchmarks before and after code changes. Comparing the new metrics against your established baseline highlights any drops in API latency or web application responsiveness prior to deployment.

What is the best way to compare performance metrics of different API stacks?

Comparing the performance of different stacks involves benchmarking each alternative to measure response size and latency. This process identifies the optimal stack configuration by evaluating the captured metrics stored in a JSON file.

What specific web vitals and API metrics can I track for performance optimization?

For performance optimization, you can track web vitals like LCP, CLS, FCP, and TTFB, alongside API metrics such as latency and response size. These measurements establish a baseline to ensure optimal application reliability.

Can I use this benchmarking approach for web applications without external dependencies?

Yes, you can benchmark web applications and APIs without external dependencies. The skill operates independently using internal scripts to measure baselines, detect regressions, and output results directly to a JSON file for analysis.

Why are my performance benchmarks not showing regressions after a PR?

If performance benchmarks are not showing regressions after a PR, ensure you executed a baseline measurement prior to the code changes. You must run a comparison against the original JSON data to accurately detect any metric deviations.