--- id: django-debug-toolbar-template-profiler version: "2.1.0" license: Simplified BSD License license_treatment: permissive maintenance: dormant --- # django-debug-toolbar-template-profiler — Displays template rendering time on the timeline License: permissive · Maintenance: dormant · Downloads: 85.8K/mo ## 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 above — 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 pip install django-debug-toolbar-template-profiler uv add django-debug-toolbar-template-profiler 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: unspecified - Install friction: low - Maintenance: dormant - Downloads: 85.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags django template rendering profiler, debug toolbar template timing, django template performance measurement, template render time profiling, django jinja2 template profiler, debug toolbar panel extension, template rendering bottleneck detection, django-debug-toolbar, performance-profiling, development-tool [View on SkillFed](https://skillfed.io/packages/django-debug-toolbar-template-profiler) · [View on PyPI](https://pypi.org/project/django-debug-toolbar-template-profiler/)