Skip to content

Commit 386dee8

Browse files
committed
Fix benchmark command.
1 parent 8eb543f commit 386dee8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/bench.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ jobs:
3535
- name: Run Benchmark (previous)
3636
run: |
3737
cd previous
38-
go test -bench=. -benchmem -benchtime=100ms -count=8 > benchmark.txt
38+
go test -bench=. -benchmem -benchtime=100ms -count=10 ./... > benchmark.txt
3939
4040
- name: Run Benchmark (new)
4141
run: |
4242
cd new
43-
go test -bench=. -benchmem -benchtime=100ms -count=8 > benchmark.txt
43+
go test -bench=. -benchmem -benchtime=100ms -count=10 ./... > benchmark.txt
4444
4545
- name: Run Benchstat
4646
run: benchstat previous/benchmark.txt new/benchmark.txt

0 commit comments

Comments
 (0)