benchmark-action / benchmark-action/github-action-benchmark
How to process multiple benchmark files?
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 184
- PR merge metrics
- No merged PRs in 30d
Description
I have tried the GitHub action layout below but get the following error.
```
2021-06-09T15:56:24.8321073Z [command]/usr/bin/git -c user.name=github-action-benchmark -c user.email=github@users.noreply.github.com -c http.https://github.com/.extraheader= fetch origin gh-pages:gh-pages
2021-06-09T15:56:25.0151197Z From https://github.com/Levi-Armstrong/tesseract-1
2021-06-09T15:56:25.0152452Z ! [rejected] gh-pages -> gh-pages (non-fast-forward)
2021-06-09T15:56:25.0201890Z ##[error]Command 'git' failed with args '-c user.name=github-action-benchmark -c user.email=github@users.noreply.github.com -c http.https://github.com/.extraheader= fetch origin gh-pages:gh-pages': From https://github.com/Levi-Armstrong/tesseract-1
! [rejected] gh-pages -> gh-pages (non-fast-forward)
```
``` yaml
- name: Store Bullet Discrete Simple benchmark result
uses: rhysd/github-action-benchmark@v1
with:
name: Bullet Discrete Simple C++ Benchmark
tool: 'googlecpp'
output-file-path: /home/runner/work/tesseract/tesseract/benchmarks/tesseract_collision_bullet_discrete_simple_benchmarks_results.json
# Use personal access token instead of GITHUB_TOKEN due to https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869/highlight/false
github-token: ${{ secrets.GITHUB_TOKEN }} # GitHub API token to make a commit comment
auto-push: false
# Show alert with commit comment on detecting possible performance regression
alert-threshold: '200%'
comment-on-alert: true
fail-on-alert: false
alert-comment-cc-users: '@mpowelson'
max-items-in-chart: 20
- name: Store Bullet Discrete BVH benchmark result
uses: rhysd/github-action-benchmark@v1
with:
name: Bullet Discrete BVH C++ Benchmark
tool: 'googlecpp'
output-file-path: /home/runner/work/tesseract/tesseract/benchmarks/tesseract_collision_bullet_discrete_bvh_benchmarks_results.json
# Use personal access token instead of GITHUB_TOKEN due to https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869/highlight/false
github-token: ${{ secrets.GITHUB_TOKEN }} # GitHub API token to make a commit comment
auto-push: false
# Show alert with commit comment on detecting possible performance regression
alert-threshold: '200%'
comment-on-alert: true
fail-on-alert: false
alert-comment-cc-users: '@mpowelson'
max-items-in-chart: 20
- name: Store FCL Discrete BVH benchmark result
uses: rhysd/github-action-benchmark@v1
with:
name: FCL Discrete BVH C++ Benchmark
tool: 'googlecpp'
output-file-path: /home/runner/work/tesseract/tesseract/benchmarks/tesseract_collision_fcl_discrete_bvh_benchmarks_results.json
# Use personal access token instead of GITHUB_TOKEN due to https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869/highlight/false
github-token: ${{ secrets.GITHUB_TOKEN }} # GitHub API token to make a commit comment
auto-push: false
# Show alert with commit comment on detecting possible performance regression
alert-threshold: '200%'
comment-on-alert: true
fail-on-alert: false
alert-comment-cc-users: '@mpowelson'
max-items-in-chart: 20
```
Contributor guide
Assessment
This issue has not been assessed yet.