Christopher P. Lindsey wrote:
[...]
It looks like the problem is repeated print statements. I basically
had a loop that did
while ($ref = $sth->fetchrow_arrayref()) {
print $$ref[0], $$ref[2], etc.
}
Changing it to
my $output;
while ($ref = $sth->fetchrow_arrayref()) {
$ou
> >However, I've noticed that scripts that generate lot of output take
> >substantially longer to run than their CGI counterparts.
> >
> >The CGI script took 1.59 seconds to run, whereas the mod_perl version
> >took 3.38 seconds. It generates about 321K of output.
>
> Are you po
On Wed, 2003-11-19 at 17:17, Christopher P. Lindsey wrote:
>However, I've noticed that scripts that generate lot of output take
>substantially longer to run than their CGI counterparts.
>
>As an example, here's the timing on a CGI script (listed first) and
>the timing on a mod_perl
Hi everyone,
I've been happily converting over a bunch of scripts to use mod_perl
since we recently solved my Apache::SSI issues.
My main reason for migrating to mod_perl from standard CGI scripts
is to improve performance on our Web server. Many scripts take several
seconds to r