Skip to content

chore(deps): update pre-commit #231

chore(deps): update pre-commit

chore(deps): update pre-commit #231

Workflow file for this run

name: Benchmarks
on:
push:
branches:
- main
- develop
pull_request:
env:
CARGO_TERM_COLOR: always
RUST_VERSION: 1.87.0
permissions:
pull-requests: write
contents: write
jobs:
benchmarks:
runs-on: ubuntu-24.04
env:
J4RS_CONSOLE_LOG_LEVEL: warn
steps:
- uses: actions/checkout@v6
- name: Install dependencies
run: make install-deps-ubuntu
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.RUST_VERSION }}
- name: Run cargo bench
run: cargo bench --workspace --all-features | tee bench-output.txt
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
name: bioformats-rs Benchmark
tool: 'cargo'
save-data-file: ${{ github.event_name == 'push' }}
output-file-path: bench-output.txt
benchmark-data-dir-path: '.'
max-items-in-chart: 30
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: ${{ github.event_name == 'push' }}
alert-threshold: '125%'
comment-on-alert: true
fail-on-alert: true
comment-always: true
summary-always: true
alert-comment-cc-users: '@AzHicham'