[Twisted-web] Re: Good ROM tool ?

Andrea Arcangeli andrea at cpushare.com
Thu Jan 19 16:43:41 MST 2006


On Wed, Jan 18, 2006 at 10:16:42PM +0100, Andrea Arcangeli wrote:
> being clear. Cheetah isn't precompiled, so it re-reads them every time
> (so here probably nevow is theoretically more efficient, but in practice
> Cheetah renders stuff much faster even if it doesn't cache it).

Well the above was incorrect, I was just looking into that right now to
optimize this bit and see if it would render even faster, and I found
out that Cheetah reads the template only once, it remembers the file,
and it re-reads only it if it's being modified on disk. The strace shows
only two stats every time I re-read the same template. That's optimal.



More information about the Twisted-web mailing list