Hello all,

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.

For that reason, I'd like to try the chameleon genshi template engine which is base on a C library for the XML stuff. I didn't find documentation (there is a page on the TG2.1 online doc, unfortunately it's "empty").

The first step I did was to install chameleon.core 1.0.3 (the last release seems to be broken ?!), and to configure the app_cfg.py with the following lines:

base_config.renderers.append('genshi')
base_config.renderers.append('chameleon_genshi')
base_config.default_renderer = 'chameleon_genshi'

but it seems to work the same way (I mean... really slowly, while the chameleon.genshi doc says it should be around as fast as mako template engine).

Any idea, link? Any information so that I can add some stuff to the official documentation?

Damien




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