Programmers are famously bad at guessing which part of a program is slow. A profiler removes the guessing: it records how many times each function was called and how long was spent in it. The usual finding is that a tiny part of the code takes nearly all of the time, and that is the only part worth changing. This lesson teaches you to read a profile, and to look at memory in the same way.
More lessons in Complete Python Programming