On Fri, Jul 8, 2011 at 8:03 PM, akaariai <akaar...@gmail.com> wrote: > > Trying jinja2 in your project is hard - you are using some template > tags, and you would need to port them to jinja2. Then you would need > to rewrite your templates so that they work under jinja2. This would > take some time for sure. > > What you could do is check out the profiler suggested in this thread. > Jinja2 is generally somewhere from 5x to 10x faster that Django > templates. So if you can see that half of your time is spent in > template rendering, then you could probably almost double the speed of > your application using Jinja2. If you don't want to do that, you can > check how fast your code is without any template rendering: just > return HttpResponse("") from your view. But remember to evaluate your > queries, querysets are evaluated only on access. This will give you > some clue how much Jinja2 would benefit you. >
Actually, i was just wondering more about this. I recently tweaked my app and cleaned up all the expensive queries etc; and wanted to know the issues with jinja2. I am starting a different thread on this; so that its easy to track. -V -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.