Skip to content

feat: Add revocation provider (#357) #421

feat: Add revocation provider (#357)

feat: Add revocation provider (#357) #421

Workflow file for this run

name: Benchmarks
permissions:
contents: read
on:
push:
branches: "main"
paths:
- '.github/workflows/benchmark*.yml'
- 'Cargo.toml'
- 'Cargo.lock'
- 'benches/**'
- 'src/**'
env:
CARGO_TERM_COLOR: always
jobs:
bench_main:
permissions:
checks: write
strategy:
matrix:
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Install Rust
uses: dtolnay/rust-toolchain@6d653acede28d24f02e3cd41383119e8b1b35921 # stable
with:
toolchain: stable
targets: ${{ matrix.target }}
- name: Rust Cache
uses: swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
- uses: bencherdev/bencher@main
- name: Track base branch benchmarks with Bencher
run: |
bencher run \
--project keystone \
--token '${{ secrets.BENCHER_API_TOKEN }}' \
--branch main \
--testbed ${{ matrix.os }} \
--threshold-measure latency \
--threshold-test t_test \
--threshold-max-sample-size 64 \
--threshold-upper-boundary 0.99 \
--thresholds-reset \
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
--adapter rust_criterion \
cargo bench --features bench_internals