django-debug-toolbar-template-profiler
Displays template rendering time on the timeline
What it is and what it does
django-debug-toolbar-template-profiler is an extension panel for django-debug-toolbar that adds template rendering profiling to Django's debug interface. It hooks into both Django and Jinja2 template render() calls to measure and display how much time each template takes to render, helping developers identify performance bottlenecks in their template layer.
The package requires django-debug-toolbar to be installed and configured first, then adds itself as an additional app and panel. Once enabled, it displays timing information in the debug toolbar's interface when you load a page. With no runtime dependencies beyond django-debug-toolbar itself and a simple pip install, it integrates cleanly into existing Django development setups.
Use it for:
- Identify which templates are slowest to render during development and optimization work.
- Profile template rendering time across a Django application to find performance regressions.
- Debug template rendering issues in projects using both Django templates and Jinja2.
- Monitor template performance when refactoring complex template hierarchies.
- Measure the impact of template tag or filter changes on render time.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Adds a debug panel to django-debug-toolbar that measures and displays the time spent rendering each template, supporting both Django and Jinja2 templates.
Yes, if you use django-debug-toolbar for Django development. The package is stable, has no known vulnerabilities, and adds a useful profiling capability with zero runtime dependencies. Dormant maintenance is acceptable here since template profiling is a narrow, well-defined feature unlikely to require frequent updates. Install it as part of your debug toolbar setup to gain visibility into template rendering performance.
Install
django-debug-toolbar-template-profiler on PyPI
pip
pip install django-debug-toolbar-template-profileruv
uv add django-debug-toolbar-template-profilerpoetry
poetry add django-debug-toolbar-template-profilerInstalling django-debug-toolbar-template-profiler
Before you install
Low friction install with no runtime dependencies. Maintenance is dormant—last release was 2022-06-27 and last commit 2024-04-24—but the package is marked Production/Stable and has no known vulnerabilities, suggesting it is stable enough for continued use in existing Django projects.
License in practice
Licensed under Simplified BSD License (permissive), which allows free use, modification, and distribution with minimal restrictions, making it safe to adopt in most projects.
Quickstart
pip install django-debug-toolbar-template-profiler
# In Django settings.py:
INSTALLED_APPS = [
"debug_toolbar",
"template_profiler_panel",
]
DEBUG_TOOLBAR_PANELS = [
# ... default panels ...
"template_profiler_panel.panels.template.TemplateProfilerPanel",
]
django-debug-toolbar must be installed and configured first; this package is an extension panel, not a standalone tool.
Verify before relying
- Whether the package works with modern Django versions beyond those it was last tested against (last release 2022-06-27).
- Whether Jinja2 template profiling works with current Jinja2 versions.
- Performance impact of the profiler on template rendering in production-like environments.
Package facts
| License | Simplified BSD License (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 1,509 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 85,751/month — #13,900 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: django_debug_toolbar_template_profiler-2.1.0-py2.py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
django-debug-toolbarDisplays debug information panels in Django…
permissive · top 5,000 on PyPI
django-debug-toolbar-template-timingsA Django Debug Toolbar panel that measures and…
unclear · top 15,000 on PyPI
djdt-flamegraphIntegrates flame graph visualization into…
permissive · top 15,000 on PyPI
django-graphiql-debug-toolbarIntegrates Django Debug Toolbar into the…
permissive · top 15,000 on PyPI
Flask-DebugToolbarFlask-DebugToolbar injects a debugging sidebar…
permissive · top 5,000 on PyPI
aiohttp-debugtoolbarAdds an interactive debug toolbar to aiohttp…
permissive · top 15,000 on PyPI
pyramid-debugtoolbarPyramid_debugtoolbar injects an interactive…
permissive · top 5,000 on PyPI
requests-trackerA Django development middleware that collects…
permissive · top 15,000 on PyPI
django-cprofile-middlewareMiddleware that profiles Django view execution…
permissive · top 15,000 on PyPI
jinja2-fragmentsRenders individual Jinja2 template blocks as…
permissive · top 15,000 on PyPI