One-click install
npx skills add https://github.com/himanshu231204/AI_Research_agent --skill benchmark-himanshu231204
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: benchmark
Source: https://github.com/himanshu231204/AI_Research_agent/tree/main/.opencode/skills/benchmark
Command: npx skills add https://github.com/himanshu231204/AI_Research_agent --skill benchmark-himanshu231204

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the risk of undetected performance regressions, missing project performance baselines, and uninformed decisions when selecting or comparing technology stacks for web applications and APIs.

Core Features & Use Cases

  • Performance Baseline Tracking: Measures Core Web Vitals, API latency, build times, and resource sizes to establish standardized performance targets for your project.
  • Regression Detection: Runs before and after code changes to flag performance degradations before they are deployed to production.
  • Tech Stack Comparison: Benchmarks alternative frameworks, libraries, or infrastructure options to help teams choose the highest-performing solution for their use case. For example, if your team is evaluating two frontend frameworks, use this skill to run identical performance tests on both to identify which delivers faster load times and smaller bundle sizes.

Quick Start

Use the benchmark skill to run a full performance baseline for your current project and save the results for future comparison.

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 code changes?

To detect performance regressions effectively, you run before and after performance benchmarking tests to compare API latency and Core Web Vitals against a saved baseline, flagging degradations prior to deployment.

Can I use this to compare frontend frameworks for build performance and bundle size?

Yes, tech stack comparison allows you to benchmark alternative frameworks by running identical tests to measure build performance, bundle sizes, and load times to support your engineering selection process.

What metrics should I track for a web application baseline?

You should track Core Web Vitals, API latency percentiles, build times, and resource sizes to establish a standardized performance baseline for persistent storage and future metric comparison.

How do I investigate user-reported slowness using API latency tracking?

You investigate user-reported slowness by comparing current API latency percentiles against a stored performance baseline to identify any abnormal degradations or regressions in response times.

Does this benchmarking approach work for pre-PR performance validation?

Yes, this approach applies to pre-PR performance validation by running baseline tracking and regression detection workflows to ensure code changes do not degrade Core Web Vitals or build performance.