-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Process benchmark results | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
run-benchmark-monitor: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout processing script | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: cz4rs/benchmark_monitor | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
path: benchmark-results | ||
|
||
- name: Process available benchmark results | ||
run: |- | ||
pip3 install -r requirements.txt | ||
python3 benchmark_monitor.py -d ./benchmark-results -o output | ||
- name: Generate nojekyll file | ||
working-directory: output | ||
run: touch .nojekyll | ||
|
||
- name: Deploy | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: output | ||
branch: deploy-benchmarks | ||
clean: true | ||
single-commit: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
# kokkos-benchmark-results | ||
|
||
Repository for storing performance benchmark results. | ||
|
||
## Generate performance graphs locally | ||
``` | ||
git clone [email protected]:kokkos/benchmark_monitor.git | ||
git clone [email protected]:kokkos/kokkos-benchmark-results.git | ||
cd benchmark_monitor | ||
python3 -m venv env | ||
source env/bin/activate | ||
pip install -r requirements.txt | ||
python benchmark_monitor.py -d ../benchmark-results -o output | ||
``` | ||
This will generate `index.html` and the rest of files in `output` diectory. |