Carson
Carson

Reputation: 17771

How to profile a running Django application?

My large Django application is taking up 30-60 MB of RAM while running, and up to 40% CPU. How can I monitor and profile my application on the fly to determine where my potential memory and cpu leaks are?

Upvotes: 5

Views: 6306

Answers (1)

PepperoniPizza
PepperoniPizza

Reputation: 9112

Take a look at this: profiling Django, might come handy. There is also a link to hotshot, which I used in the past. I was able to improve some stuff with hotshot. Also newrelic can be useful.

Some similar questions:

Question 1, Question 2

Upvotes: 4

Related Questions