Skip to content

Commit

Permalink
benchmark github action
Browse files Browse the repository at this point in the history
  • Loading branch information
omaraflak committed Aug 28, 2023
1 parent f0e070e commit 142d8d8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,19 @@ jobs:
- name: Test
run: ${{github.workspace}}/build/banana_test

- name: Run benchmark
run: ${{github.workspace}}/build/benchmarks --benchmark_format=json > benchmarks/benchmark_results.json

- name: Store benchmark results
uses: benchmark-action/github-action-benchmark@v1
with:
name: C++ Benchmark
tool: 'googlecpp'
output-file-path: benchmarks/benchmark_result.json
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
# Show alert with commit comment on detecting possible performance regression
alert-threshold: '200%'
comment-on-alert: true
fail-on-alert: true
alert-comment-cc-users: '@omaraflak'

0 comments on commit 142d8d8

Please sign in to comment.