I just recently upgraded from django-debug-toolbar==2.2 to django-debug-toolbar==3.1.1. Unfortunately, I did this after a few changes to the core behaviour of the project in question, and so upon noticing a significant increase in response times, across all views I started taking apart changes to no available until I downgraded django-debug-toolbar and everything went back to normal.
Coming here, If found #1263, and proceeded to start testing the removal of panels, starting with an empty DEBUG_TOOLBAR_PANELS. Ultimately, I singled out debug_toolbar.panels.staticfiles.StaticFilesPanel
To quantify the problem, using response times as seen in Firefox's Network Tab for a HTML response:
with 2.2: ~0.030 s
with 3.3.1 (no settings.py changes): ~1.100 s
with 3.3.1 (declaring DEBUG_TOOLBAR_PANELS and commending out StaticFilesPanel: ~0.030 s
I just recently upgraded from
django-debug-toolbar==2.2
todjango-debug-toolbar==3.1.1
. Unfortunately, I did this after a few changes to the core behaviour of the project in question, and so upon noticing a significant increase in response times, across all views I started taking apart changes to no available until I downgradeddjango-debug-toolbar
and everything went back to normal.Coming here, If found #1263, and proceeded to start testing the removal of panels, starting with an empty
DEBUG_TOOLBAR_PANELS
. Ultimately, I singled outdebug_toolbar.panels.staticfiles.StaticFilesPanel
To quantify the problem, using response times as seen in Firefox's Network Tab for a HTML response:
DEBUG_TOOLBAR_PANELS
and commending outStaticFilesPanel
: ~0.030 s