Hacker News new | ask | show | jobs
by jaxr 1144 days ago
Is there a well established python stack for load testing and profiling? Like, I would like to load test a python web application, then use some analysis tool to understand what part of the stack is eating the CPU cycles and/or RAM.
3 comments

Ditto.

Edit:

Yappi - A tracing profiler that is multithreading, asyncio and gevent aware.

https://github.com/sumerc/yappi

For CPU cycles, py-spy[0] is getting more and more used. For RAM, I would like to known too...

[0] -- https://github.com/benfred/py-spy

cProfile and locust are two commonly used profiling and load testing tools.