My Django application is insanely slow, I want to figure out what is taking time :
I tried Django-debug-toolbar
but was unable to find a panel that can give me the break-up of the load time.
My requirements:
Can django-debug-toolbar
do that ? [ What panel ? ]
Any other django-app that can do that ?
django-debug-toolbar
2.0By default, django-debug-toolbar
2.0 includes 'debug_toolbar.panels.profiling.ProfilingPanel'
in the settings DEBUG_TOOLBAR_PANELS
. You can view this profiling information by ticking the "Profiling" checkbox in the toolbar and refreshing the page.
django-debug-toolbar
:You can try the profiling panel of the django-debug-toolbar (make sure you use the application's latest version from github). Enable the panel like so in your settings.py:
DEBUG_TOOLBAR_PANELS = (
'debug_toolbar.panels.version.VersionDebugPanel',
'debug_toolbar.panels.timer.TimerDebugPanel',
'debug_toolbar.panels.profiling.ProfilingDebugPanel',
)
This existence of this panel is not documented on the readme of django-debug-toolbar; that's why I answer here in the first place.