Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 34 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ on:
- risc-zero/host/benches/bench.rs
- noir/benches/bench.rs
- noir/Cargo.lock
- opoch/Cargo.lock
- opoch/benches/bench.rs

env:
AWS_REGION: us-east-1
Expand Down Expand Up @@ -116,6 +118,36 @@ jobs:
with:
path: .benchmarks/

opoch:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner: ['ubuntu-16-shared', 'ubuntu-latest-64-cores']
needs: start-runner
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- uses: Swatinem/rust-cache@v2

- name: Run OPOCH benchmarks
working-directory: ./opoch
env:
BENCHY_OUTPUT_DIR: "../.benchmarks/${{ matrix.runner }}"
run: |
cargo bench

- name: Upload .benchmarks as artifact
uses: actions/upload-artifact@v3
with:
path: .benchmarks/

risc_zero:
runs-on: ${{ matrix.runner }}
strategy:
Expand Down Expand Up @@ -234,7 +266,7 @@ jobs:

commit:
runs-on: ubuntu-latest
needs: [polylang, miden, risc_zero, noir]
needs: [polylang, miden, opoch, risc_zero, noir]
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -261,7 +293,7 @@ jobs:

clean-up:
runs-on: ubuntu-latest
needs: [polylang, miden, risc_zero, noir]
needs: [polylang, miden, opoch, risc_zero, noir]
if: always()
steps:
- name: Configure AWS credentials
Expand Down
Loading