diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index fd9e0a23c3..bb5067b9c8 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -2,13 +2,6 @@ name: Bench on: workflow_call: workflow_dispatch: - push: - branches: ["main"] - paths-ignore: ["*.md", "*.png", "*.svg", "LICENSE-*"] - pull_request: - branches: ["main"] - paths-ignore: ["*.md", "*.png", "*.svg", "LICENSE-*"] - merge_group: env: CARGO_PROFILE_BENCH_BUILD_OVERRIDE_DEBUG: true CARGO_PROFILE_RELEASE_DEBUG: true @@ -74,11 +67,11 @@ jobs: - name: Prepare machine run: sudo /root/bin/prep.sh - # # Pin the benchmark run to core 0 and run all benchmarks at elevated priority. - # - name: Run cargo bench - # run: | - # taskset -c 0 nice -n -20 \ - # cargo "+$TOOLCHAIN" bench --features bench -- --noplot | tee results.txt + # Pin the benchmark run to core 0 and run all benchmarks at elevated priority. + - name: Run cargo bench + run: | + taskset -c 0 nice -n -20 \ + cargo "+$TOOLCHAIN" bench --features bench -- --noplot | tee results.txt - name: Compare neqo and msquic env: diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index d04971b370..10085ffda6 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -163,7 +163,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} if: matrix.type == 'debug' && matrix.rust-toolchain == 'stable' - # bench: - # name: "Benchmark" - # needs: [check] - # uses: ./.github/workflows/bench.yml + bench: + name: "Benchmark" + needs: [check] + uses: ./.github/workflows/bench.yml