Measure where a program's time goes and believe the result, well enough to know which kind of profiler answers your question, to recognise the four ways a profile lies, and to prove a change helped rather than assuming it
Reading a Profile Honestly

A profile is evidence, and most people read it wrong. This course covers how the measurements are taken, what each method distorts, why the top of the list is often not the problem, and how to show a change was real.
8 lessons, written and corrected before you arrived. Reading them here needs no account. The first reads the whole way through; the others open and then stop, because a page nobody owns cannot tell who is reading it. Starting the course gives you your own copy, where every idea has problems standing under it and you can ask about any sentence.