On Fri, Feb 08, 2002 at 01:41:11AM +0100, Myk Melez wrote:
> So, besides enabling the XS stash and COMPILE_DIR options and using 
> PROCESS instead of INCLUDE when possible, what other measures can I take 
> to wring the most performance out of my templates?

Convert your CGI script to a mod_perl handle and then use
a global TT object in the handle, I was amazed at the
difference this made:

Method             Req/sec   time per request
------             -------   ----------------
Standard CGI:       3.36     297.56 ms
Apache::Registry:  10.20     98.43 ms
Mod_perl:          73.31     13.64 ms

Happy hacking.

Leo



Reply via email to