Reddit - r/programming

Tuning a Server for Benchmarking

Tuning a Server for Benchmarking

Optimizing code starts with measuring it, and a measurement is only useful if it is repeatable: a 2% improvement is invisible under 5% of noise. Yet on an untuned machine the same binary can easily run several percent faster or slower between runs.

In this post we take a tiny benchmark and tune the machine step by step, re-measuring after every change, until runs become deterministic.

Continue reading - Tuning a Server for Benchmarking

Comments

No comments yet. Start the discussion.