Skip to content

Update dark storage performance benchmark result #343

Update dark storage performance benchmark result

Update dark storage performance benchmark result #343

name: Process Dark Storage Benchmark Result
on:
workflow_dispatch:
push:
branches:
- "gh-pages"
paths:
- "dev/dark_storage_performance_benchmark/output.json"
permissions:
# deployments permission to deploy GitHub pages website
deployments: write
# contents permission to update benchmark contents in gh-pages branch
contents: write
jobs:
benchmark:
name: Run pytest-benchmark dark storage
timeout-minutes: 90
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
lfs: true
ref: gh-pages
- name: Parse and plot pytest benchmark output
run: |
pip install matplotlib
dev/dark_storage_performance_benchmark/process_benchmark_result.py
rm -rf benchmark.svg
dev/dark_storage_performance_benchmark/plot_benchmark_result.py
git config --global user.name "Dark Storage Benchmarking Workflow"
git config --global user.email ""
git add .
git commit -m "Update plot dark_storage_performance_benchmark"
git push -f origin gh-pages:gh-pages