Re:Estimating the chances of something that hasn’t happened yet
by GuB-42 on Saturday November 17, 2018 @10:14AM
(#18475813)
In the specific case of code, it is worth noting that runs are typically not independent, because of caching.
It is very common for the first run to be slower. It means that by "random chance" slow-slow-slow-fast-fast-fast is more likely than fast-fast-fast-slow-slow-slow. I personally tend to discard first runs as outliers when profiling.
It is very common for the first run to be slower. It means that by "random chance" slow-slow-slow-fast-fast-fast is more likely than fast-fast-fast-slow-slow-slow. I personally tend to discard first runs as outliers when profiling.