//
Search across all documentation pages
12 pages in this section.
The mental model behind every Python performance tool: why the interpreter is slow in the specific ways it is, and how to pick between timeit, profilers, vectorization, compiled extensions, and alternative runtimes based on which kind of slow you actually have.
`lru_cache`, external caches, and invalidation.
I/O parallelism as a performance lever.
Optimize the measured bottleneck, not a guess.