I think if we're going that deep about latency, you really ought to stay away from traditional x86 (and ARM64!) platforms entirely.
SMM firmware can interrupt any time for whatever reason, meaning even a plain, unoptimized assembly program can have unpredictable latency.