Skip to content

Commit

Permalink
A new hope
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Mar 18, 2024
1 parent 32a43d8 commit b96b392
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b96b392

Please sign in to comment.