caktus / caktus/django-scribbler

Template rendering performance

Open
#158 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
114
Forks
13
PR merge metrics
No merged PRs in 30d

Description

I just realised, that if I delete all scribbles from my template, the template rendering times are 100-300 ms shorter (measured by https://pypi.org/project/django-debug-toolbar-template-profiler/ with user logged off).
This is significant performance issue for me, since it can be 1/3 or more of the whole request time.

I will investigate this further.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported 100–300 ms difference with django-debug-toolbar-template-profiler, comparing a template with and without scribbles while logged off. Then trace the rendering path to identify where scribbles add overhead. Done means the cause is isolated and the performance impact is reduced or clearly characterized with a regression measurement.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.