On Friday 29 May 2009, Mark Ramm wrote:
> One of the most problematic parts of Genshi performance wise is match
> tags, since they are each compared to every tag in the stream as they
> go by, so you may be able to get some good performance improvements by
> using py:def template functions rather than match tags in various
> places.

Mark,

thanks a bunch for that tip. It's worth the weight in gold.
I've modified a few of the most hit pages to render with just one match tag
and the performance increase is really significant. In some cases the render
time went from 2.something seconds to 0.6 seconds. Nice, very nice.

 Uwe


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to