We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bec649 commit 647850fCopy full SHA for 647850f
.github/workflows/bench.yml
@@ -29,10 +29,10 @@ jobs:
29
go install golang.org/x/perf/cmd/benchstat@latest
30
echo "New Commit:"
31
git log -1 --format="%H"
32
- go test -bench=. -benchmem -benchtime=100ms -count=10 > /tmp/new.txt
+ go test -bench=. -benchmem -benchtime=100ms -count=10 ./... > /tmp/new.txt
33
git reset --hard HEAD
34
git checkout $GITHUB_BASE_REF
35
echo "Base Commit:"
36
37
- go test -bench=. -benchmem -benchtime=100ms -count=10 > /tmp/old.txt
+ go test -bench=. -benchmem -benchtime=100ms -count=10 ./... > /tmp/old.txt
38
$GOBIN/benchstat /tmp/old.txt /tmp/new.txt
0 commit comments