I haven't got any timings recorded but we also found a SIGNIFICANT increase in performance with the use of a single Template object which is created once at server startup.
Colin -----Original Message----- From: Leo Lapworth [mailto:[EMAIL PROTECTED]] Sent: 2002-mm-08 08:52 To: [EMAIL PROTECTED] Subject: Re: [Templates] performance degradation in 2.06+; performance tuning? 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 _______________________________________________ templates mailing list [EMAIL PROTECTED] http://www.template-toolkit.org/mailman/listinfo/templates
