This provides a Django Debug Toolbar panel which generates a Flame Graph for the rendering of a template.
It is probably worth using in conjunction with the Template Profiler and/or Template Timings panels.
It borrows a lot from 23andMe's DjDT Flame Graph.
- Install
django-debug-toolbar-template-flamegraph
viapip
- Add
'template_flamegraph'
toINSTALLED_APPS
- Add
'template_flamegraph.TemplateFlamegraphPanel'
toDEBUG_TOOLBAR_PANELS