- Published on
Investigation · Part 4 of 20 · When the benchmark lies
Why the First Run Is Slower
The first iteration of my loop took 145 microseconds and the steady state 12. I separated the causes I could show on my laptop: page faults, cold caches, a pause of 300 ms, lazy binding in C, and the start of the process itself.