note 33844 added to ref.outcontrol
| From: | tijmen at rack1 dot php dot net | Date: | Wed, 09 Jul 2003 09:44:40 +0000 |
| Subject: | note 33844 added to ref.outcontrol | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-51761@lists.php.net to get a copy of this message | ||
Trying to benchmark your server when using output_buffering ?
Don't forget that the value 4096 in the php.ini will give you complete different loadtimes
compares to the value of 1.
In the first case the output will be sent after buffering 4096 and the loadtime timed at the end of
the page will contain the loadtime needed to download the complete page in the clientbrowser while
the second value will contain the loadtime needed to place the complete page in the buffer. The time
needed for sending is not clocked.
This can be very frustrating if you don't see the differance between server and the 1st is
using 4096 instead of 1.
Although technically much faster than the second server the second server was providing much better
loadtime results.
This result will grow when using large amounts of output.
But this becomes interesting if you want to measure the time needed for the page to be loaded for
the client.
----
Manual Page -- http://www.php.net/manual/en/ref.outcontrol.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33844
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33844&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33844&report=yes