We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be43fdb commit 4945878Copy full SHA for 4945878
2 files changed
.github/workflows/benchmark.yml
@@ -16,14 +16,16 @@ jobs:
16
steps:
17
- name: Steup Go
18
uses: actions/setup-go@v2
19
+ with:
20
+ go-version: 1.17
21
22
- name: Checkout
23
uses: actions/checkout@v2
24
with:
25
ref: ${{ matrix.ref }}
26
27
- name: Run Benchmarks
- run: go test -v -run '^$$' -bench '(Marshal|Unmarshal)$$/codeResponse' -benchmem -cpu 1 -count 5 ./json | tee bench.txt
28
+ run: go test -v -run '^$' -bench '(Marshal|Unmarshal)$/codeResponse' -benchmem -benchtime 3s -cpu 1 -count 5 ./json | tee bench.txt
29
30
- name: Upload Benchmarks
31
uses: actions/upload-artifact@v2
.github/workflows/go.yml .github/workflows/test.yml.github/workflows/go.yml renamed to .github/workflows/test.yml
0 commit comments