Hey guys, Over the weekend, we (finally!) moved our company's primary web-app from CGI over to mod_perl and incorporated H::T. The funny thing is that I started doing some speed comparisons using ApacheBench of our MP version vs CGI.
Short story is, both CGI and MP preformed about the same. In some cases CGI was actually faster than MP. This bummed me out. I used Apache::DProf to get an idea of what calls where taking the longest. Turns out that H::T takes at least 25% of the processing time each time a MP request is made. Our CGI was using some in-house "template" system. (ie: file open, search/replace line by line for variables, print out). Like I said, this really bummed me out. For the longest time, CGI was WAY faster than MP, until I turned on cache => 1 in H:T. That was a HUGE improvement, but still CGI is slightly faster. I've already got "use HTML::Template" in my startup.pl so theoretically its being compiled at server start (anyway to verify this?). But its the instantiation in my handler() routine that's using the CPU time. How I can I get H:T to preform better? Thanks, Matthew Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users