On Mon, Feb 12, 2001 at 12:56:51AM +0100, Alvar Freude wrote:
> Hi,
> 
> I recognized, that the output of (my) mod_perl Scripts is very slow, if
> there are longer texts.
> 
> I use the following Code on a Linux machine (PII 350, 320 MB), Apache
> 1.3.12, mod_perl 1.23:
> 
> 
>   $r->header_out('Content-Length', length($$textref));
>   $r->header_out('Connection', 'close');      
>   $r->send_http_header;
>   
>   $r->print($$textref) unless $r->header_only;
>   $r->rflush();
> 
> 
> this tooks for an 200 KByte Text about 4 seconds from localhost, and the
> same as CGI or plain HTML is as fast as expected, so this seems to be an
> mod_perl problem.
> 
> If the output is GZIP-Compressed, it is much more faster (also from
> localhost) then uncompressed, despite the extra time for compression.
> 
> 
> You can check it here:
> http://www.assoziations-blaster.de:7000/forum/forum-list_0.html

I just tried it a couple of times with wget. I always got something
between 150-190KB/sec -- doesn't seem too slow to me :)


$ wget http://www.assoziations-blaster.de:7000/forum/forum-list_0.html
--01:15:32--  http://www.assoziations-blaster.de:7000/forum/forum-list_0.html
           => `forum-list_0.html'
Connecting to www.assoziations-blaster.de:7000... connected!
HTTP request sent, awaiting response... 200 OK
Length: 182,296 [text/html]

    0K -> .......... .......... .......... .......... .......... [ 28%]
   50K -> .......... .......... .......... .......... .......... [ 56%]
  100K -> .......... .......... .......... .......... .......... [ 84%]
  150K -> .......... .......... ........                         [100%]

01:15:34 (178.02 KB/s) - `forum-list_0.html' saved [182296/182296]


-- 
Erdmut Pfeifer
science+computing gmbh

-- Bugs come in through open windows. Keep Windows shut! --

Reply via email to