benfred/py-spy — Sampling profiler for Python programs
Description and use
py-spy is a low‑overhead sampling profiler for Python applications that works without modifying the target code or requiring a special interpreter build. It attaches to a running Python process (or launches a new one), collects stack traces at regular intervals, and generates flame graphs or statistical reports to help developers pinpoint performance bottlenecks. The tool is open‑source, cross‑platform, and supports multiple Python versions, making it a versatile choice for quick, non‑intrusive profiling.
Problem
benfred/py-spy may be useful when its README and activity match a concrete workflow.
Outcome
Medium: useful for prototypes or internal workflows, with dependency and maintenance checks before production.
Evidence
Sampling profiler for Python programs
- Record date: 2026-09-13T17:16:29.946Z