RC RANDOM CHAOS

engineering

1 post

Size a micro-benchmark so one run takes 300 milliseconds
Article

Size a micro-benchmark so one run takes 300 milliseconds

matklad's rule for micro-benchmarks: tweak the input until one run takes about 300 milliseconds, keeping results readable and free of fixed-cost noise.