#9154: Huge improvements in templates rendering
--------------------------------------+-------------------------------------
Reporter: msaelices | Owner: msaelices
Status: new | Milestone:
Component: Template system | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Comment (by msaelices):
I've attached a simple benchmarking. This benchmarking is not very
realistic, because I override default loader for not load from file
system.
The results on my machine, before patching Django:
{{{
$ ./manage shell
>>> import templatebench
>>> templatebench.test()
Bench duration: 17.299939
}}}
After optimization:
{{{
$ ./manage shell
>>> import templatebench
>>> templatebench.test()
Bench duration: 9.878777
}}}
I think if you add IO things, I think improvement is very high.
--
Ticket URL: <http://code.djangoproject.com/ticket/9154#comment:7>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---