From: "Jonathan Vanasco" <[EMAIL PROTECTED]> > You should learn about caching. Tweaking the template caching settings > under any system can vastly improve performance. >
I have tried to learn more about caching in TT, but I could find only that I could create cache, and nothing more. No tweaking or something like that. > > When i chose Petal over HTML::Template::JIT and regexs, a friend did > the math to show me the real-life benefits of using the faster engines > there virtually were none -- even at great percentage differences > between them all (differences by the powers of 10) , when you add in > your full logic, plus the request lifecyle, plus proxying, correlating > the saved time to new available connections was something like an > increase of 3 minutes per day. When I was using TT, my program was able to serve 1.7 requests per second. (tested with ab program - Apache Bench). After using HTML::Template, the same program, but modified to be able to use HTML::Template, was able to serve over 3 requests per second. After using HTML::Template::Compiled, the same program as that used with HTML::Template, is able to serve over 7 requests per second. The program is the same, so not the program is responsable for the delay. Teddy