Hi,

one week ago I've made a little change in template rendering engine to
get a huge performance improvement, in template rendering:

http://code.djangoproject.com/ticket/9154

The optimizations where two:
 1) cache loaded templates that becames compiled. In a threaded
environment, with many concurrent requests, this can be a huge boost.

 2) be able to cache inherited templates. A template with {% extends
%} tag will compile parent template all times. This of course is not
necessary.

I've test this patch in my projects and only with this I've gain 100%
of requests per second (with "ab -c 10"). This is fantastic because
only a little percentage of request is waste on template rendering.

I'm so stranged because nobody has comment this ticket. I don't know
if other people don't find useful or is only that nobody look at this.
I think this kind of improvement would fantastic for community and for
comparing other frameworks and templates engine.

Regards,
Manuel Saelices.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to