mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-29 08:00:38 +00:00
25 lines
596 B
YAML
25 lines
596 B
YAML
name: Run Benchmarks
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
benchmark_base_branch:
|
|
name: Continuous Benchmarking with Bencher
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- uses: bencherdev/bencher@main
|
|
- name: Track base branch benchmarks with Bencher
|
|
run: |
|
|
bencher run \
|
|
--project ratatui-org \
|
|
--token '${{ secrets.BENCHER_API_TOKEN }}' \
|
|
--branch main \
|
|
--testbed ubuntu-latest \
|
|
--adapter rust_criterion \
|
|
--err \
|
|
cargo bench
|