Hi All,
Our company planning to move from Perl/CGI to mod_perl.
But when we test, mod_perl is slower than mod_cgi.
I test with these script:
# TESTING SCRIPT 1
use Time::HiRes qw(usleep ualarm gettimeofday tv_interval);
$t0 = [gettimeofday];
# CODE HERE
VML wrote:
Hi All,
Our company planning to move from Perl/CGI to mod_perl.
But when we test, mod_perl is slower than mod_cgi.
I test with these script:
# TESTING SCRIPT 1
use Time::HiRes qw(usleep ualarm gettimeofday tv_interval);
$t0 = [gettimeofday];
[ whenever someone replies to your question on the list, please keep the
replies CC'ed to the list, unless you were asked to make the thread
private. don't be shy to continue solving your problem in public, other
benefit from this as well.]
VML wrote:
On Monday 15 April 2002 02:49 pm, you
VML wrote:
On Monday 15 April 2002 04:35 pm, you wrote:
VML wrote:
On Monday 15 April 2002 02:49 pm, you wrote:
Oh, boy, this is a wrong test :) You benchmark the code execution and
not mod_perl against mod_cgi. You should use ab(8) or similar app for
this. To learn how to properly do this