perf-benchmarker
仓库创建 2025年10月22日最近提交 1 天前SkillHot 收录 11 小时前
▸ 精选理由
规范化基准执行流程,降低测量噪声和误判回归概率。
▸ 风险提示
会消耗大量计算资源和较长运行时间。
这个 Skill 做什么
按严格规则顺序运行基准测试以建立基线和验证回归。
按严格规则顺序运行基准以建立可信基线或验证回归:禁止并行跑测,预热至少10秒,测量每次最少60秒(仅二分搜索可用30秒),对异常结果重跑。适合需要稳定可比数据的场景,能显著减少随机噪声导致的误判。输出包含命令、时长和稳定性说明,方便审计和复现。
▸ 展开 SKILL.md 英文原文
Use when running performance benchmarks, establishing baselines, or validating regressions with sequential runs. Enforces 60s minimum runs (30s only for binary search) and no parallel benchmarks.
1.8k
Stars
518
Forks
23
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/composio-community/awesome-claude-plugins/master/perf/skills/benchmark/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/composio-community/awesome-claude-plugins/master/perf/skills/benchmark/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# perf-benchmarker
Run sequential benchmarks with strict duration rules.
Follow `docs/perf-requirements.md` as the canonical contract.
## Required Rules
- Benchmarks MUST run sequentially (never parallel).
- Minimum duration: 60s per run (30s only for binary search).
- Warmup: 10s minimum before measurement.
- Re-run anomalies.
## Output Format
```
command: <benchmark command>
duration: <seconds>
warmup: <seconds>
results: <metrics summary>
notes: <anomalies or reruns>
```
## Output Contract
Benchmarks MUST emit a JSON metrics block between markers:
```
PERF_METRICS_START
{"scenarios":{"low":{"latency_ms":120},"high":{"latency_ms":450}}}
PERF_METRICS_END
```
## Constraints
- No shvia SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有