Skip to content

Commit

Permalink
Add results processing
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Jan 13, 2023
1 parent c859c0e commit 18ccb52
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/process-results.yml
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

15 changes: 15 additions & 0 deletions README.md
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.

0 comments on commit 18ccb52

Please sign in to comment.