>>>>> "Joe" == Joe Johnston <[EMAIL PROTECTED]> writes:

Joe> Has anyone benchmarked the performance of Apache::Templates?
Joe> Without doing much optimization, it appears that I'm getting
Joe> unexpectedly low throughput. Using the ab tool, I'm able to serve
Joe> about 110 static HTML pages per second. Using a very simple tt2
Joe> (shown below), the throughput drops to 17 pages per second. Is
Joe> this precipitous drop normal? I am using caching (with the XS
Joe> module). Any thoughts on how I improve the performance?

Do you have TT2CompileDir set?  If not, you are recompiling the
template in each new Apache process.  And to be fair, you should then
visit the page once, verify that the compiled version has been cached,
and then perform your test.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.ourshack.com/mailman/listinfo/templates

Reply via email to