Re: Performance: why it take so long time?

From: Date: Tue, 10 Jul 2001 16:51:09 +0000
Subject: Re: Performance: why it take so long time?
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-10219@lists.php.net to get a copy of this message
Don't flush or print/echo too often. This generates many fragmented tcp-ip packets (causing the behaviour you observe). The fastest method is probably store the accumulated HTML data in a variable and print the variable every 100 rows or so. Regards, John "Soeren Nielsen" <news@n-crypt.dk> wrote in message news:20010710082314.52670.qmail@pb1.pair.com... > Hi Stefano > > I don't know if this is what you are looking for. > Take a look at the flush() function which should bring output faster to > the browser. > > Hope it help > > Cheers > Soeren > > ----- Original Message ----- > From: "Stefano" <stefano.consolaro@iol.it> > > The question is: there are some variable configuration in Apaches or > some > > tips to use in the PHP code for fastening the replay? (For exaple i > faund > > that in a PHP page that display a FORM, the displaing time is smaller > if I > > do some calculation in the code than if I don't use it) > > >

« previous php.db (#10219) next »