Thanks for your reply.
--Fuhong

On Wednesday, September 12, 2012 4:35:37 PM UTC-4, Aymeric Augustin wrote:
>
> Le 12 sept. 2012 à 18:56, 富弘刘 <[email protected] <javascript:>> a écrit :
>
> I use django-debug-toolbar to analyze my website and noticed a lot of time 
> is consumed by template render. In my each page, I have about 10ms in 
> database queries, and about 100 ms in render.
>
>
>
> Hi Fuhong,
>
> Yes, the Django Template Language is known to be rather slow.
>
> Compiling it is a very hard problem, for two reasons:
> - its scoping semantics don't match Python's (unlike Jinja2, for example);
> - custom template tags can dynamically implement arbitrary behavior.
>
> The outcome of the latest attempt is documented here:
> https://github.com/mitsuhiko/templatetk/blob/master/POST_MORTEM
>
> I'm not aware of more recent work on this topic.
>
> Best regards,
>
> -- 
> Aymeric.
>
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-developers/-/rECx-N2JwDcJ.
To post to this group, send email to [email protected].
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