Skip to content

Commit 05bfa43

Browse files
committed
ci: add ci steps for running benchmark tests
Added third party gh-action for A/B testing of performance degradation. Follows up #122
1 parent 68df18f commit 05bfa43

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/testing.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,21 @@ jobs:
4444

4545
- name: Run tests
4646
run: make test
47+
48+
- name: Run becnchmark
49+
run: |
50+
make bench
51+
52+
- uses: WillAbides/benchdiff-action@v0
53+
with:
54+
benchdiff_version: 0.6.2
55+
status_name: test-bench-result
56+
status_on_degraded: neutral
57+
benchdiff_args: |
58+
--base-ref=master
59+
--cpu=1
60+
--count=5
61+
--warmup-count=1
62+
--tolerance=30
63+
--benchmem
64+
--debug

0 commit comments

Comments
 (0)