skillfed

django-debug-toolbar-template-profiler

Displays template rendering time on the timeline

django-debug-toolbar-template-profiler v2.1.0 85.8K downloads/30d#13,900 on PyPI81
Permissive license Simplified BSD License DORMANT released

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-profiler

uv

uv add django-debug-toolbar-template-profiler

poetry

poetry add django-debug-toolbar-template-profiler

Installing 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

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python Modules

Tags

django template rendering profilerdebug toolbar template timingdjango template performance measurementtemplate render time profilingdjango jinja2 template profilerdebug toolbar panel extensiontemplate rendering bottleneck detection
django-debug-toolbarperformance-profilingdevelopment-tool

More Python Modules packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

PyYAML

PyYAML parses and emits YAML 1.1 data format,…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

annotated-types

Provides reusable metadata objects for use with…

permissive · top 100 on PyPI

typing-inspection

Provides runtime tools to inspect and…

permissive · top 100 on PyPI

django-debug-toolbar

Displays debug information panels in Django…

permissive · top 5,000 on PyPI

django-debug-toolbar-template-timings

A Django Debug Toolbar panel that measures and…

unclear · top 15,000 on PyPI

djdt-flamegraph

Integrates flame graph visualization into…

permissive · top 15,000 on PyPI

django-graphiql-debug-toolbar

Integrates Django Debug Toolbar into the…

permissive · top 15,000 on PyPI

Flask-DebugToolbar

Flask-DebugToolbar injects a debugging sidebar…

permissive · top 5,000 on PyPI

aiohttp-debugtoolbar

Adds an interactive debug toolbar to aiohttp…

permissive · top 15,000 on PyPI

pyramid-debugtoolbar

Pyramid_debugtoolbar injects an interactive…

permissive · top 5,000 on PyPI

requests-tracker

A Django development middleware that collects…

permissive · top 15,000 on PyPI

django-cprofile-middleware

Middleware that profiles Django view execution…

permissive · top 15,000 on PyPI

jinja2-fragments

Renders individual Jinja2 template blocks as…

permissive · top 15,000 on PyPI