Collection of examples and links that uses different profiling tools to show memory usage and timings.
Shows how to use the profiler and what the output looks like. Includes only tools that are maintained.
- awesome-profiling: Great list of profiling tools, though includes some tools for Python that are no longer maintained.
- "All my favorite tracing tools: eBPF, QEMU, Perfetto, new ones I built and more", Tristan Hume
- "Systems Performance: Enterprise and the Cloud, 2nd Edition", Brendan Gregg
- "BPF Performance Tools", Brendan Gregg
- "Flame Graphs: The future of performance analysis", Brendan Gregg
- "Flame Graphs", Brendan Gregg
- "Sampling v. tracing", Dan Luu
- Memory and CPU profiling, "The Hacker's Guide to Scaling Python", Julien Danjou
- Python 3.12 support for the Linux perf profiler
- pyperformance - Python Performance Benchmarking Suite