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

(compressed, if browser supports it).


The calculating time of the hole tree is about 0.25 seconds, the other
time is mod_perls print ...


Has someone an idea?



Thanks and Ciao
  Alvar


-- 
Alvar C.H. Freude  |  [EMAIL PROTECTED]

    Demo: http://www.online-demonstration.org/  |  Mach mit!
Blast-DE: http://www.assoziations-blaster.de/   |  Blast-Dich-Fit
Blast-EN: http://www.a-blast.org/               |  Blast/english

Reply via email to