TIL about taskset from util linux which lets one run a thing and isolate it to a specific CPU/core. This allows for more consistent speed testing.

taskset -c 0 ./my-app # this runs on cpu #0 only