Re: Template render performance

2014-11-18 Thread poswald
Not going to weigh in on if this is worth it or not, but if you're interested and are looking for a way to set up a rendering speed benchmark, this is the approach that floppyforms took to sanity check their changes: https://github.com/gregmuellegger/django-floppyforms/blob/master/benchmark.py

Re: Template render performance

2014-11-18 Thread Curtis Maloney
It's been on my TODO list for some time to deep dive into DTL and find where I can to remove excess work. There's a LOT of defensive coding in there to ensure things are what we expect, and to handle cases "just in case", and I've a gut feeling [nothing more] that we can remove some of these safet

Re: Template render performance

2014-11-17 Thread Michael Manfre
Thanks to the work Aymeric recently started, Django will have more options with regards to templating. See his DEP on Multiple Template Engines. https://myks.org/en/multiple-template-engines-for-django/dep/ Regarding changing the Django Template Language syntax for the sake of performance improvem

Template render performance

2014-11-17 Thread cristianocca28
Hello, Mostly a question, but are there any work in progress to improve templates render performance? Times when having medium to big data and/or loops get excesively high, compared to jinja2 which sadly is not as easy to use as django native template language. I would really trade a featur