1 2 3
#! /bin/bash taskset --cpu-list 0-3 sudo chrt -f 99 sudo -u "$LOGNAME" bash -c "RUSTFLAGS='-C target-cpu=native' ~/.cargo/bin/cargo bench"