> > > 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: > > Yeah, but as you admitted over Dim Sum you hadn't made some of the > essential optimisations you should have to your Registry setup... ;-) > > Lemme at it (or read the relevant chapter of Stas' guide).
It seems to me that if he found it easier to make a mod_perl handle than to tweak out A::R that says something right there. Doesn't it? =) Still, the ratio between CGI and "pure" mod_perl is good enough to keep in the mail folder for the next time the boss says "Why are you fooling with this stuff again?" --mark
