> You'll want to do something like this, timing each line:
>
> from django.template import loader
>
> source, origin = find_template_source('your_template_name')
> template = get_template_from_string(source, origin, 'your_template_name')
> template.render(your_context)
>
> --------------
>
> It may be that template.render is the slow line-- If that's the case,
> I'd start whacking timing info into django.template.NodeList.render
> (specifically the lines inside "for node in self").

I did as you suggested and the call template.render() is where the
16-18 seconds are being spent.  My next step is to add some timings to
django.template.NodeList.render as you suggested.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to