py-spy
A third-party sampling profiler for Python that performs low-overhead profiling of a running Python process without modifying its code, and is commonly used together with flame graphs.
Timeline (last 90 days)
Common Python profiling tools include Python's cProfile, py-spy, and various sampling profilers.
Python has long lacked an official built-in, low-overhead, and easily visualized performance analysis method, and developers often rely on third-party tools such as py-spy; 3.15 brings sampling profiling capability into the standard library, lowering the barrier to performance tuning.
The sampling profiler calculates function time consumption by periodically capturing stack traces of a running process, with extremely low overhead and no need for prior instrumentation, a capability developers previously needed third-party tools such as py-spy to obtain.
All Facts (3)
Common Python profiling tools include Python's cProfile, py-spy, and various sampling profilers.
50%UnverifiedPython has long lacked an official built-in, low-overhead, and easily visualized performance analysis method, and developers often rely on third-party tools such as py-spy; 3.15 brings sampling profiling capability into the standard library, lowering the barrier to performance tuning.
50%UnverifiedThe sampling profiler calculates function time consumption by periodically capturing stack traces of a running process, with extremely low overhead and no need for prior instrumentation, a capability developers previously needed third-party tools such as py-spy to obtain.
50%