I'm quite confident that C modules for string processing/templating
might become obsolete sooner or later. Projects like Unladen Swallow
(http://code.google.com/p/unladen-swallow/wiki/Releases) will surely
boost Python's performance in that area.

Currently, the performance gains are quite modest (10-15% compared to
Python 2.6.1), but with the planned rewrite of Python's regexp engine
and other optimizations, I expect a decent performance boost for all
template engines.

But after all, the template engine is just one factor for your overall
site performance.

-- Franz

On 9 Mai, 09:44, Alice Zoë Bevan–McGregor <[email protected]> wrote:
> I used Kid back in the early (pre-1.0) TurboGears days, then switched  
> to Genshi when I began using pre-2.0 TurboGears.
>
> In general, I really, really like the XML namespace functionality of  
> Kid/Genshi, allowing designers to use their favorite WYSIWYG editor to  
> design templates without damaging control structures and variable  
> replacements.  That's a nice bonus.  Now, though, for performance  
> reasons, I've been historically leaning towards Genshi, and these days  
> more towards Mako, despite it losing the XML niceness.
>
> Performance-wise, the tests I've seen have Cheetah and Mako neck-and-
> neck, with comparisons between the pure-Python Mako and Cheetah with  
> compiled C optimizations.  What I'd like to see is Mako with compiled  
> C optimizations - ;) - but being purely Python has distinct advantages  
> in deployment to environments without a compiler.
>
> Some of the comparisons I've seen:
>
> http://groups.google.com/group/django-users/browse_thread/thread/f41b...http://www.mail-archive.com/[email protected]/msg0363...
>
>   — Alice.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to