3 ms·
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?)
by TylerE 12y ago
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?)
- dangayle 12y agoWhat'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.
- Spiritus 12y agoDid 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/#django.template.loaders.cached.Loader https://docs.djangoproject.com/en/dev/ref/templates/api/#dja...
- TylerE 12y agoThat helps, but it's still well below parity.