diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index aeb53a060d..16e5de5a7d 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -63,10 +63,9 @@ jobs: # Pin the benchmark to core 0 and run it at elevated priority. - name: Benchmark run: | + export PWD=$(pwd) sudo nice -n -20 taskset -c 0 sudo -i -u "$USER" -D "$PWD" \ cargo +$TOOLCHAIN bench --features ci,bench | tee output.txt - env: - PWD: $(pwd) # Enable turboboost, hyperthreading and use powersave governor - name: Restore machine