liamg/go-benchmark-pr-action

Run go benchmarks on a PR, compare with the base branch, and write results as a comment. Fail the workflow if benchmarks regress below configured % threshold. Requires Go to be available on PATH (e.g. via actions/setup-go).

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenGithub token with permission to write PR commentsyes
duration_thresholdThreshold for duration regression in % (use 0 for no threshold check)no0
memory_thresholdThreshold for memory-usage regression in % (use 0 for no threshold check)no0
allocs_thresholdThreshold for allocation count regression in % (use 0 for no threshold check)no0
benchmark_patternPattern to match benchmarks to runno.
benchmark_packagePackage to run benchmarks forno./...
benchmark_secondsDuration to run each benchmark forno1
benchmark_countNumber of times to run each benchmark (leave empty to use defaults)no0

no outputs