On Sat, Aug 14, 2010 at 7:40 AM, Antoni Aloy <antoni.a...@gmail.com> wrote:
> Hello!
>
> Today I have been benchmarking a Django template to PHP compilar
> called Haanga http://github.com/crodas/Haanga/ a development sponsored
> by meneame.net a Digg like spanish site. Ricardo has made some sort of
> benchmark http://gallir.wordpress.com/2010/08/13/haanga-vs-django-vs-h2o.
> With my own benchmarks, using just the template part, Haanga it's
> about 80% faster than Django. The post is in Spanish but you can see
> the results.
>
> I know template speed is not a real problem in most sites but I'm
> quite impressed abut Haanga speed. My feelings are that the examples
> as most benchmarks tends to show where the product shines (samples are
> using lots of loops) but I haven't found any similar project for
> Django or reasons about why Django does not uses the same approach.
>
> I can guess some of the reasons: maitanibility, work split between
> developers and designers, custom template filters, ... But I'd like to
> know other's thoughts.

Template rendering speed may not be a problem for many sites, but any
improvement in rendering speed would have benefits.

One of the GSoC proposals for this year was to look at introducing a
'compiled' template loader -- rendering templates directly into Python
bytecode, which has the potential to significantly improve rendering
speed. This proposal was made by Alex Gaynor, who ultimately retracted
that proposal in favor of his noSQL proposal,

I would be very interested in seeing this sort of optimization added
to Django, so if anyone is looking for a non-trivial project, dig up
Alex's GSoC proposal and see what you can do!

Yours,
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to