Performance Regression Detector Skill for CI Baselines
Compare baseline and candidate timings with the same inputs, repeated observations, and an explicit threshold.
中文Install in Claude Code
Use your benchmark or CI setup, fixed fixtures, and consistent timing. The example tracks parse time.
- Get the complete `plugins/performance/performance-regression-detector/skills/detecting-performance-regressions` directory from the pinned GitHub commit.
- Copy it into the target project's `.claude/skills/`. Check `.claude/skills/detecting-performance-regressions/SKILL.md`, start Claude Code at the project root, and call `/detecting-performance-regressions`.
Example task
Use baseline milliseconds 98, 100, 102 and candidate 118, 120, 122. Compute medians and apply a threshold above 15% relative growth.What to check
Median time rises from 100 to 120, a 20% regression under the rule. Preserve all samples in the report.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can one timing sample gate CI?
Estimate run-to-run variation with repeated measurements before choosing a threshold and retry policy.