Re:Rewriting Reddit (2005)
by TylerE on Monday October 27, 2014 @10:18PM
(#8519229)
Django templating is still pretty slow.... the last time I benchmarked it (maybe 6 months ago) it was a fairly large amount slower than Jinja2 (3-4x maybe?)
[ Parent
| on HN ]
Did you make sure to enable to cached template loader[1]?
>Enabling the cached template loader often improves performance drastically, as it avoids compiling each template every time it needs to be rendered.
[1] https://docs.djangoproject.com/en/dev/ref/templates/api/#dja...
That helps, but it's still well below parity.