also cool profiler update https://peps.python.org/pep-0799/
With Python 3.15, a new sampling profiler was introduced under
profile.sample
. Known as tachyon, this tool uses statistical sampling to infer performance characteristics, which introduces zero overhead profiling and works better with the modern Python interpreter. It also supports multiple threads, async functions, free threading builds and attaching to running processes. Despite these strengths, the placement of tachyon underprofile.sample
is misleading and obscures its importance.
i'm a BIG fan of the phrasing "sampling to infer performance characteristics" (emphasis mine). like yeah this is just a number you gotta put it in context to generate #insights