Skip to content

Benchmark run 'chore/bench-restart-time' #6

Benchmark run 'chore/bench-restart-time'

Benchmark run 'chore/bench-restart-time' #6

Workflow file for this run

name: Benchmark
run-name: "Benchmark run '${{ github.head_ref || github.ref_name }}'"
on:
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
store_bench:
name: Run Store Benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install latest stable Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run Store Benchmark
run: cargo bench --bench store_bench
load_bench:
name: Run Load Benchmark
runs-on: [runner-amd64-2xlarge]
steps:
- uses: actions/checkout@v4
- name: Install latest stable Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run Load Benchmark
run: cargo bench --bench load_bench