benchmark-action / benchmark-action/github-action-benchmark
How to process multiple benchmark files?
- Lingua principale
- TypeScript
- Stelle
- 1.3k
- Fork
- 183
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dai passaggi del workflow e dai tre percorsi di output dei benchmark mostrati nell’issue, quindi esamina come l’action gestisce le esecuzioni ripetute e il fetch di gh-pages. Documenta il modo supportato per elaborare più file di benchmark e spiega come evitare l’errore non-fast-forward segnalato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- git, github-actions
- Ambito
- ci-cd, devops
- Tipo di issue
- Documentazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100