Benchmark In Milliseconds (opens in a new tab)
BENCHMARK IN MILLISECONDS Oct 5, 2026 How long should a micro benchmark run? My rule of thumb is to tweak the input size until the benchmark takes about 300ms, for the following reasons: * Milliseconds are integers ranging from 1 to 999. Enough precision to notice even a small improvement, and easy to scan visually. No need for different units or f