Skip to content

Commit

Permalink
Six samples as benchstat requires for 95% confidence
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduchesne committed May 4, 2023
1 parent 0c3615f commit dea00b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .drone/drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ local docker(arch, depends_on=[]) =
pipeline('benchmark against main') {
steps: [
go('benchmark', [
'go test -bench=. -benchmem -count=5 -run=^$ ./... | tee bench-pr.txt',
'go test -bench=. -benchmem -count=6 -run=^$ ./... | tee bench-pr.txt',
'git fetch origin main',
'git checkout main',
'go test -bench=. -benchmem -count=5 -run=^$ ./... | tee bench-main.txt',
'go test -bench=. -benchmem -count=6 -run=^$ ./... | tee bench-main.txt',
'go install golang.org/x/perf/cmd/...@latest',
'benchstat bench-main.txt bench-pr.txt',
]),
Expand Down

0 comments on commit dea00b4

Please sign in to comment.