perf-benchmark-checklist
Sets baseline performance metrics and criteria for catching regressions. Use when setting up benchmarks or investigating a slowdown.
- License 许可
- MIT
- 所属仓库
- vibbs/company-os
- 最近更新
- 2026-10-21
- Stars
- ★ 6
- Forks
- 2
01 前言 Front Matter
- name
- perf-benchmark-checklist
- description
- Sets baseline performance metrics and criteria for catching regressions. Use when setting up benchmarks or investigating a slowdown.
- user-invocable
- false
03 SKILL.md 正文
Performance Benchmark Checklist
Reference
- ID: S-QA-04
- Category: QA
- Inputs: SLOs, critical user journeys, infrastructure specs, current performance data
- Outputs: performance benchmark report → artifacts/qa/
- Used by: QA Agent
- Tool scripts: ./tools/artifact/validate.sh
Purpose
Defines baseline performance metrics for critical paths, establishes regression detection thresholds, and provides a repeatable checklist for running performance benchmarks before and after significant changes.
Procedure
- Identify critical user journeys and API endpoints that need performance baselines.
- Define the metrics to capture: p50/p95/p99 latency, throughput (RPS), error rate, memory/CPU usage.
- Establish the test environment spec: infrastructure, data volume, concurrency level.
- Load seed data — run
./tools/db/seed.sh --reset high-volumebefore running benchmarks. This ensures realistic data distribution and volume. Record the exact record counts used in the benchmark report.
- Load seed data — run
- Run baseline benchmarks under realistic load and record results.
- Verify seed data loaded — confirm
high-volumescenario data exists by running./tools/db/seed.sh --list. Benchmarks against an empty database produce misleading results.
- Verify seed data loaded — confirm
- Set regression thresholds: e.g., p95 latency must not increase by more than 10%.
- Define the benchmark execution procedure: warm-up, steady-state duration, cool-down.
- Document load profiles: ramp-up pattern, sustained load, spike test parameters.
- Create a comparison template for before/after results.
- Define the escalation process when a regression is detected.
- Save the benchmark report and checklist to
artifacts/qa/. - Validate the artifact using
./tools/artifact/validate.sh.
Quality Checklist
- [ ] Critical paths are identified and prioritized
- [ ] Metrics include latency percentiles (p50, p95, p99), throughput, and error rate
- [ ] Test environment is documented and reproducible
- [ ] Baseline numbers are recorded with timestamps
- [ ] Regression thresholds are explicitly defined
- [ ] Load profiles cover normal, peak, and spike scenarios
- [ ] Escalation process for regressions is documented
- [ ]
high-volumeseed scenario loaded before benchmarks - [ ] Record counts documented in benchmark report
- [ ] Artifact passes validation
04 同仓库更多 Skills
typo-field
Fixture skill with a misspelled top-level field.
spaced-comments
Fixture skill with comments and spaces after block keys.
crlf-comments
Fixture skill with Windows line endings.
claude-fields
Fixture skill using top-level fields Claude Code documents.
workflow-router
Maps an objective to the artifacts, stages and agents it needs. Use when deciding what happens next or which agents to involve.
weekly-review
Summarizes your week: what shipped, AI spend, support themes, security health and next priorities. Use at the end of each week.