We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68df18f commit 34e0b5dCopy full SHA for 34e0b5d
.github/workflows/testing.yml
@@ -44,3 +44,26 @@ jobs:
44
45
- name: Run tests
46
run: make test
47
+
48
+ - name: Run becnchmark
49
+ run: |
50
+ make bench > a.txt
51
+ git checkout master
52
+ go test -bench=. -benchmem -benchtime=1s -cpu=4 > b.txt
53
+ go benchcmp new.txt old.txt
54
55
+ - uses: WillAbides/benchdiff-action@v0
56
+ with:
57
+ benchdiff_version: 0.6.2
58
+ status_name: test-bench-result
59
+ status_on_degraded: neutral
60
+ benchdiff_args: |
61
+ --bench="."
62
+ --count=10
63
+ --warmup-count=1
64
+ --benchtime=500ms
65
+ --debug
66
+ --benchstat-output=markdown
67
+ --tolerance=50
68
+ --clear-cache
69
+ --base-ref=origin/master
0 commit comments