Skip to content

Commit 61bae03

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 61bae03

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/testing.yml

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

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

0 commit comments

Comments
 (0)