[mod_python] Re: Anyone using Cheetah for templating?

Stian Søiland stian at soiland.no
Fri Aug 13 03:28:18 EDT 2004


On 2004-08-12 23:06:38, courtney ludwin wrote:

> I still think something is not right,
> I am able to fill a cheetah template well over 1000
> times a second (just wrote a script to test this out),
> and I know mod_python is fast so I think that it is
> more of a configuration issue... 
> 
> Cheetah is fast when filling templates, but slow to
> load templates therefore it may be a importing issue,
> but I don't see how in my code, I am only importing
> the template once:

Maybe you've forgot to turn off Auto reload of modules. Check out:

 http://www.modpython.org/live/current/doc-html/dir-other-par.html


(btw, we're using Cheetah too, but we haven't done any deployment or
benchmarking yet, so I can't comment on your numbers. 
(The cheetah syntax sucks, the block overloading is nice.)

-- 
Stian Søiland               Work toward win-win situation. Win-lose
Trondheim, Norway           is where you win and the other lose.
http://www.soiland.no/      Lose-lose and lose-win are left as an
                            exercise to the reader.  [Limoncelli/Hogan]
                            Og dette er en ekstra linje 



More information about the Mod_python mailing list