Scalene, Pyinstrument and py-spy
Profilers: Scalene (CPU + memory + GPU, line level), Pyinstrument (readable call trees), py-spy (sample running processes).
Intermediate
pyinstrument script.py shows where time goes; py-spy top --pid 1234 inspects a live server without restarting it.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.