Hi,
I've compiled the django.template.{base,context,context_processor} modules
with cython in order to speed up template rendering.
I've come to the conclusion that this is needed after profiling long page
loads that had the data from the database returned in 10-50 ms,
but the page would take seconds to complete - especially *admin change
views* with lots of inlines.
I am seeing a 13% decrease in page rendering time across the board,
obviously passing all django tests.
To make this easy to deploy I've compiled it as a drop-in replacement
(targeting django 1.8.7) that uses import hooks (PEP 302)
to replace targeted modules on the fly.
The sources/releases are here: https://github.com/ddalex/django-cemplate
Can you please advise on how to continue this work ?
I feel that maintaining separate trees for each Django release is not
scalable on my part.
Cheers,
Alex
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/2fabf7f1-d9d7-4336-a5b2-ff69c497067a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.