Skip to content

Commit

Permalink
Run benchmark at elevated priority
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Feb 12, 2024
1 parent f7ba952 commit 6722336
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,9 @@ jobs:
run: sudo /root/bin/prep.sh

# Pin the benchmark to core 0 and run it at elevated priority.
# TODO: Figure out a way to run this with nice -20.
- name: Benchmark
run: |
taskset -c 0 \
nice -n -20 taskset -c 0 \
cargo +$TOOLCHAIN bench --features ci,bench | tee output.txt
# Enable turboboost, hyperthreading and use powersave governor
Expand Down

0 comments on commit 6722336

Please sign in to comment.