360 Secure SkillHub
360 安全技能中心

perf-benchmarker

该 Skill 用于运行性能基准并验证回归,强制串行执行、单次至少 60 秒(二分查找阶段 30 秒)、测量前至少热身 10 秒,异常需重跑,并输出规定格式的报告与 JSON 指标块。

composio-community
热度 0.00
最近更新 2026-10-19 02:13:43
分类:开发依赖:代码执行 / 读写文件应用场景:DevOps / 调试排错 / 报告撰写 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add composio-community/awesome-claude-plugins/perf-benchmarker
Metadata
name
perf-benchmarker
description
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.
version
1.0.0
argument-hint
<command> [duration]

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 short runs unless binary-search phase.
  • Do not change code while benchmarking.