mirror of
https://github.com/hibiken/asynq.git
synced 2025-04-22 16:50:18 +08:00
Tweak benchstat workflow
This commit is contained in:
parent
389db8f1da
commit
5844747413
10
.github/workflows/benchstat.yml
vendored
10
.github/workflows/benchstat.yml
vendored
@ -24,10 +24,7 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Benchmark
|
- name: Benchmark
|
||||||
run: |
|
run: go test -run=^$ -bench=. -count=5 -timeout=60m ./... | tee -a bench.txt
|
||||||
for i in {1..5}; do
|
|
||||||
go test -run=^$ -bench=. ./... | tee -a bench.txt
|
|
||||||
done
|
|
||||||
- name: Upload Benchmark
|
- name: Upload Benchmark
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
@ -50,10 +47,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: master
|
ref: master
|
||||||
- name: Benchmark
|
- name: Benchmark
|
||||||
run: |
|
run: go test -run=^$ -bench=. -count=5 -timeout=60m ./... | tee -a bench.txt
|
||||||
for i in {1..5}; do
|
|
||||||
go test -run=^$ -bench=. ./... | tee -a bench.txt
|
|
||||||
done
|
|
||||||
- name: Upload Benchmark
|
- name: Upload Benchmark
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user