Le 29/06/2011 06:46, Christoph Zwerschke a écrit :
Am 29.06.2011 00:51 schrieb Damien Accorsi:
I face dramatic performance issue with a page rendering a table with
around 1000 lines and around 10 columns, certainly because of the
content of the cells which is made of forms, images, etc. I'm using
genshi. If I remove the genshi.XML() call (which I believe makes the XML
validation), then the rendering duration becomes user-friendly.

Where and why are you using genshi.XML()? You don't need it in normal TG usage. If you want to include an already rendered HTML table in a template, you use Markup().
Ok, I didn't know. Actually I'm using this (and now Markup) with the idea of making my app faster by exporting some base templates functions into python code functions, from which the result is base html nodes. (these functions are basic but used a lot for each "button" I add into my web interface)


-- Christoph


--
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