16👍
✅
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)
Source:stackexchange.com