Comment by astrange

5 years ago

Not all performance problems have obvious "bottlenecks", some are entirely second-order effects.

For instance, everyone tells you not to optimize CPU time outside of hotspots, but with memory usage even a brief peak of memory usage in cold code is really bad for system performance because it'll kick everything else out of memory.