fix: add CLI layer to telemetry tracing (#2717) #575
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmark main | |
on: | |
push: | |
paths-ignore: ["docs/**", "**.md"] | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
micro_benchmarks: | |
name: Micro Benchmarks | |
runs-on: benchmarking-runner | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: Install Bencher CLI | |
uses: bencherdev/bencher@main | |
- name: Run Benchmarks | |
run: | | |
bencher run \ | |
--project tailcall \ | |
--branch main \ | |
--testbed benchmarking-runner \ | |
--token "${{ secrets.BENCHER_API_TOKEN }}" \ | |
--adapter rust_criterion \ | |
cargo bench |