David Cramer's Blog: High Performance Django
-
Martin · 1 year agoWhat is it that makes jinja so much faster than djangos builtin template engine? Cant the built in by improved to perform better performence??
-
David Cramer · 1 year agoI can't really say what makes it faster, except that it does use some ctypes, and in Jinja2 it compiles down to a module which is really nice.
-
pytechd · 1 year agoDid Curse switch to Jinja? Were templates a major bottleneck?
-
David Cramer · 1 year agoI wouldn't say they were a major bottleneck, but yes, Curse was using Jinja. It was mostly because of the flexibility Jinja offers over Django.
-
jvisinand · 1 year agoI have just migrated the user home page of mixin.com (http://www.mixin.com/users/ndengler/) from django to jinja2 on our test environment. The time used for rendering the template shrunk from ~1000ms to ~400ms (which is still to much). It's more than 2 times faster and we are planning to migrate our complete application on jinja2. I wish I knew jinja2 before!