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.
Unverified
- 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.
Sources: Github