Skip to content

Commit e7f2430

Browse files
committed
feat: add benchmark-action configuration
- Add benchmark-action step to workflow - Configure gh-pages branch for benchmark data - Set up alert thresholds and notifications
1 parent 2768531 commit e7f2430

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/bench.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,19 @@ jobs:
4747
name: bench-output
4848
path: bench.out
4949

50+
- name: 📊 Run Benchmark Action
51+
uses: benchmark-action/github-action-benchmark@v1
52+
with:
53+
tool: 'go'
54+
output-file-path: './bench.out'
55+
github-token: ${{ secrets.GITHUB_TOKEN }}
56+
auto-push: true
57+
gh-pages-branch: 'gh-pages'
58+
benchmark-data-dir-path: 'dev/bench'
59+
alert-threshold: '200%'
60+
fail-on-alert: true
61+
alert-comment-cc-users: '@kitd3k'
62+
5063
- name: 🔍 Run benchzribe to update README
5164
run: |
5265
go mod tidy

0 commit comments

Comments
 (0)