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 3d6bf47Copy full SHA for 3d6bf47
.github/workflows/testing.yml
@@ -44,3 +44,28 @@ jobs:
44
45
- name: Run tests
46
run: make test
47
+
48
+ - name: Run becnchmark
49
+ run: |
50
+ make bench
51
52
+ - name: AB performance
53
54
+ go get golang.org/x/tools/cmd/benchcmp
55
+ make bench > b.txt && git fetch && git checkout master
56
+ go test -bench=. -benchmem -benchtime=1s -cpu=4 > a.txt
57
+ benchcmp a.txt b.txt
58
59
+# - uses: WillAbides/benchdiff-action@v0
60
+# with:
61
+# benchdiff_version: 0.6.2
62
+# status_name: test-bench-result
63
+# status_on_degraded: neutral
64
+# benchdiff_args: |
65
+# --base-ref=master
66
+# --cpu=1
67
+# --count=5
68
+# --warmup-count=1
69
+# --tolerance=30
70
+# --benchmem
71
+# --debug
0 commit comments