Profilers: Find the Bottleneck
10 entriesCPU, line-level and memory profilers. Profile before changing anything, because the slow part is rarely where you expect.
Compilers, JITs & Alternative Runtimes
8 entriesWays to run the same Python faster, from JIT compilers to ahead-of-time compilation. Each has limits on language and library support, so test on your own code.
Fast Libraries
6 entriesOften the cheapest speed-up is swapping a slow pure-Python step for a library that does the work in native code.
Concurrency & Parallelism
5 entriesUse these when the work can be split across cores, machines or waiting tasks.
Caching & Benchmarking
7 entriesProve the change helped. Benchmark before and after on realistic data, and watch for regressions.
Related Pages
5 entriesRelated directories on this site.