Add `--affinity <CPU>` argument
Author: ilazaricCreated Sep 21, 2026Updated Sep 21, 2026
So hyperfine --affinity X ./foo is like hyperfine 'taskset -c X ./foo'
Roughly what I imagine would be best:
Timer timer;
clone3(CLONE_VFORK | CLONE_VM);
sched_setaffinity(...);
timer = time();
execve(...);Source: sharkdp/hyperfine