Your Django became too slow?
add this to your settings.py
INSTALLED_APPS += ['profiling'] MIDDLEWARE_CLASSES += ['profiling.middleware.InstrumentMiddleware']
pip install pyprof2calltree for cachgrinder
add a get param: "cprofile" to start profiling
add a get param: "profile-stop" to stop profiling
the log will be in the tmp/profiler folder of your system
http://lurkingideas.net/profiling-django-projects-cachegrind/
pyprof2calltree -i logfilename.pro -k
or
pyprof2calltree -i logfilename.pro -o callgrinder.logfilename.log
TBD