Python Sampling Profiler: Profile a Running Process Without Restarting It
Python 3.15's built-in sampling profiler (Tachyon) attaches to a running process by PID, no code changes. Hands-on: attach, flamegraph, wall vs CPU vs GIL.
Python 3.15's built-in sampling profiler (Tachyon) attaches to a running process by PID, no code changes. Hands-on: attach, flamegraph, wall vs CPU vs GIL.
Python lazy imports (PEP 810) land in Python 3.15. I benchmarked boto3, requests and pydantic startup: the real speedup, and how to get most of it today.
Python 3.15 lands lazy imports, a frozendict builtin, unpacking in comprehensions, and the Tachyon sampling profiler. Here's what changed and what to test.