Last week Antonios Pappas told me that if I am already chasing slow tests, I should look at tests/support_server/setup.pm. It is known for wasting time. He also gave me the rule of thumb that made me take it seriously: every wasted second in the support server costs about three seconds, because the parallel nodes wait for the master to finish its setup.
That is the difference between a slow test and an expensive test. A slow single-machine test wastes one job. A slow support server wastes the whole cluster, and it does it before the real test even starts.
[Read More]