Skip to content

Commit 2213166

Browse files
committed
Bench -count=10
1 parent 34d2cbe commit 2213166

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/diff.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717

1818
- uses: actions/checkout@v2
1919
- name: Benchmark new code
20-
run: go test -bench=. -benchmem -run=^$ -count=20 -timeout=30m | tee /tmp/new.txt
20+
run: go test -bench=. -benchmem -run=^$ -count=10 -timeout=30m | tee /tmp/new.txt
2121

2222
- name: Checkout master
2323
uses: actions/checkout@v2
2424
with:
2525
ref: master
2626
- name: Benchmark master
27-
run: go test -bench=. -benchmem -run=^$ -count=20 -timeout=30m | tee /tmp/old.txt
27+
run: go test -bench=. -benchmem -run=^$ -count=10 -timeout=30m | tee /tmp/old.txt
2828

2929
- name: Diff
3030
run: benchstat /tmp/old.txt /tmp/new.txt

0 commit comments

Comments
 (0)