News for hackers. Stuff that matters.
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?)
Re:Rewriting Reddit (2005) by Spiritus on Tuesday October 28, 2014 @07:44AM (#8520434)
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...

Re:Rewriting Reddit (2005) by TylerE on Tuesday October 28, 2014 @03:04PM (#8522875)
That helps, but it's still well below parity.
Re:Rewriting Reddit (2005) by dangayle on Tuesday October 28, 2014 @04:40AM (#8519994)
What's cool is that there is a legitimate push to make Jinja a first class citizen in Django, with other third party templating engines being available via a new API.