Skip to content

Merge pull request #25 from antiguru/test_bench #1

Merge pull request #25 from antiguru/test_bench

Merge pull request #25 from antiguru/test_bench #1

Workflow file for this run

name: "Bench Suite"
on:
push:
branches:
- main
jobs:
bench:
name: cargo bench
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
- name: Cargo bench
run: cargo +nightly bench | tee output.txt
# Run `github-action-benchmark` action
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'cargo'
output-file-path: output.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
fail-on-alert: true