From ceaa0ffd97f49f7e037051a67e158219a5fdff2c Mon Sep 17 00:00:00 2001 From: TheVeryDarkness <3266343194@qq.com> Date: Thu, 10 Oct 2024 21:33:15 +0800 Subject: [PATCH] CI: optimize in building speed --- .github/workflows/benchmark.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index f41a8e9..7f8b108 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -25,6 +25,6 @@ jobs: toolchain: "nightly" - uses: bencherdev/bencher@main - name: Prepare for benchmark - run: cargo run --example benchmark_integers + run: cargo run --example benchmark_integers --release - name: Track base branch benchmarks with Bencher run: bencher run --project iof --token '${{ secrets.BENCHER_API_TOKEN }}' --branch main --testbed '${{ matrix.os }}' --threshold-measure latency --threshold-test t_test --threshold-max-sample-size 64 --threshold-upper-boundary 0.99 --thresholds-reset --err --adapter rust_criterion --github-actions '${{ secrets.GITHUB_TOKEN }}' "cargo bench"