ID:               19516
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         Output Control
 Operating System: Windows 2000 server
-PHP Version:      4.2.3
+PHP Version:      4.3.0pre1
 New Comment:

I rerun the test with the 4.30pre1 version. I always have the same
result on command line and with apache 1.3.27, but not with apache
2.0.43.

the problem is really visible with the output buffer to 16384 and $max
= 1000 in the script.

I see that te first loop can take in buffer, so the timing for this
loop is god, but the second loop can not tkae in buffer, so the timing
is really bad.


Previous Comments:
------------------------------------------------------------------------

[2002-10-24 15:34:04] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip



------------------------------------------------------------------------

[2002-10-14 08:10:52] [EMAIL PROTECTED]

I rerun test with and without zlib_output_compression. there is no
difference. 
i don't use ob_gzhandler.

with $max=1000 and output_buffer= 16384, the second loop is slower than
the first. If i increase output_buffer to 32656 , the second loop take
less time than the first ( it's the good result). The size odf output
is 28ko.

I will run test with the php 4.3.0pre1 as soon as possible.

------------------------------------------------------------------------

[2002-10-01 05:21:07] [EMAIL PROTECTED]

It sounds like you are enabling zlib.output_compression. (If you are
not using ob_gzhandler)

If yes, this is not a bug.


------------------------------------------------------------------------

[2002-10-01 02:44:00] [EMAIL PROTECTED]

There is no difference with or without \n and in command line.
gzip is disabled for all test.

I think the problem is the rotation of the buffer. timing is good if
the buffer size is greater or equal to the output size. 

all works fine on linux

------------------------------------------------------------------------

[2002-09-26 18:28:55] [EMAIL PROTECTED]

If you add \n to $suite variable does this change the timings in any
signifcant way? Also, check to make sure you do not gzip compression
enabled as well as try doing this test via a command line rather then a
browser.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/19516

-- 
Edit this bug report at http://bugs.php.net/?id=19516&edit=1

Reply via email to