Skip to content

.github/workflows/bencher.yml #493

.github/workflows/bencher.yml

.github/workflows/bencher.yml #493

Workflow file for this run

on:
schedule:
- cron: '18 0 * * *'
push:
branches:
- main
jobs:
benchmark_with_bencher:
name: Continuous Benchmarking with Bencher
runs-on: ubuntu-latest
env:
BENCHER_PROJECT: sharded-thread
BENCHER_TESTBED: github-actions
BENCHER_ADAPTER: rust_criterion
steps:
- uses: actions/checkout@v4
- uses: bencherdev/bencher@main
- name: Track Benchmarks with Bencher
run: |
bencher run \
--iter 16 \
--fold min \
--branch "$GITHUB_REF_NAME" \
--token "${{ secrets.BENCHER_API_TOKEN }}" \
--err \
"cargo bench"