[Twisted-web] [Nevow] template performance

Tristan Seligmann mithrandi-twisted-web at mithrandi.za.net
Fri Dec 15 07:01:46 CST 2006


* Manlio Perillo <manlio_perillo at libero.it> [2006-12-15 13:33:55 +0100]:

> manlio at synapsis:~/projects/tests/nevow$ python static2.py
> 9.85 usec/pass
> 
> manlio at synapsis:~/projects/tests/django$ python static2.py
> 13.31 usec/pass

Is this python 2.4 or 2.5? The string handling speed-ups in 2.5 have a
fairly substantial impact on Nevow rendering speed, I believe.

> Nevow for every data object calls inevow.IContainer.child.
> The problem can be here, since it is called 25 times (the number of rows 
> in the table)

That's easy enough to fix, just don't use data specials :)
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://twistedmatrix.com/pipermail/twisted-web/attachments/20061215/2ddaf27c/attachment.pgp


More information about the Twisted-web mailing list