Links
- Nice video (pycon): Making your python code fast
- lscache + kcachegrind
- "perf stat", "perf record + perf report"
- Faster Imports
- Python processes zipfile entries on sys.path much faster than it does directories. See Starting Faster and link
- The zipimportx will help here.
- Compare speeds of different kinds of access to variables (recipe)
- Memory usage
- pympler: memory profiling for Python applications
- Heapy
- PySizer - a memory profiler for Python
- Less maintained than Heapy.