Profiling Django webserver for high startup times Profiling Django webserver for high startup times django django

Profiling Django webserver for high startup times


I found an easy and effective solution doing this:

python -m cProfile manage.py runserver > profiled

Further details about Python profilers here (official docs).

I'd also post a link to a video introduction to Python profiling and related tools (PyCon 2009)