bloomberg / memray

Memray is a memory profiler for Python

Home Page:https://bloomberg.github.io/memray/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to profile gunicorn workers?

TheCodeYoda opened this issue · comments

my startup command looks like this

gunicorn --workers 2 -k uvicorn.workers.UvicornWorker my_server.main:server --bind '0.0.0.0:8000' --access-logfile - --error-logfile - --log-level info

How do I profile this using memray? is there a way to use the cli with this startup command?