in reply to Re: Benchmarks of mod_perl
in thread Benchmarks of mod_perl

Writing a CGI program with mod_perl is more complex than writing a CGI program with perl. It was a very daunting task for me to have to 'port' my code over to mod_perl.What I did instead was use a module called Apache::PerlRun, you won't get the same performance increase as if you written your CGI with mod_perl, but if helps.

What I think it does is compiles your perl code and keeps it resident in memory.

here's the entry in my httpd.conf:

<Location /cgi-bin> SetHandler perl-script PerlHandler Apache::PerlRun PerlSendHeader On Options +ExecCGI </Location>