I love the new timeline mode in pyinstrument 5!

Pyinstrument is a call stack profiler for a python application for figuring out why your code is slow.

Video taken from the PyInstrument 5 release announcement:
https://joerick.me/posts/2024/10/3/pyinstrument-5/

#python #pythondevs #pyinstrument #profiling #pythonprofiling

Pyinstrument 5 - Flamegraphs for Python

Pyinstrument is mostly a python codebase. A large part of the rendering pipeline existed as functions called 'processors' - these functions transform the tree of frame objects to produce different readouts.