ollieb89/Performance Benchmark Action
Track and alert on performance regressions in CI
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| results-file | Path to benchmark results file (JSON or CSV) | yes | — |
| baseline-file | Path to baseline file | no | .benchmark-baseline.json |
| threshold | Regression threshold percentage | no | 10 |
| fail-on-regression | Fail the action if regressions are detected | no | true |
| update-baseline | Update baseline file after comparison | no | false |
| format | Input format: auto, json, csv, hyperfine | no | auto |
| metric-key | Key to use as the metric value | no | duration |
| comment-on-pr | Post results as PR comment | no | true |
| github-token | GitHub token for PR comments | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| total-benchmarks | Total benchmarks evaluated |
| regressions | Number of regressions detected |
| improvements | Number of improvements detected |
| unchanged | Number of unchanged benchmarks |
| new-benchmarks | Number of new benchmarks |
| report | Full comparison report as JSON |