This repo shows this workflow:
- Run benchmarks for your Go code (
func Bench...) in themainbranch and in PRs. - On every commit to a PR, it compares the benchmark results against
main:- if no
mainbenchmarks are available, just publish benchmarks in the summary of the PR. - if there
mainbenchmarks, and they got worse in the PR, fail the PR:
- if no
