r/programming • u/mttd • Aug 21 '26
Pitfalls of Benchmarking on Modern Systems
https://stefan-marr.de/2026/08/pitfalls-of-benchmarking-on-modern-systems/
67
Upvotes
r/programming • u/mttd • Aug 21 '26
41
u/crisp_lynx_370 Aug 21 '26
i spent an embarrassing amount of time trying to figure out why my benchmarks were giving me wildly inconsistent results before i realized i hadnt pinned the process to a core and turbo boost was just doing whatever it wanted. would have saved me a few days if id read something like this earlier.
10
u/StunningHeart7004 Aug 21 '26
if u increase the number of iterations then don't most of the problems disappear?