From:             webmaster at neteject dot com
Operating system: Windows 2003
PHP version:      5.0.0
PHP Bug Type:     Performance problem
Bug description:  Output buffering = Off is slow

Description:
------------
PHP 5.0.1 ISAPI Windows 2003 Enterprise Server.

I have tested this on different machines with W2003 Server Enterprise
installed.

I have webppages with a lot of phpchunks with sql and different
calculations.

When have outbuffering to off the page is printed very slow and halts in
almost every chunk. Setting the output to On prints the page fast.

I have tested this on my local network. I have connected to 1 xp machine
and 2 w2003 machines. XP did not have any problems with output buffering
off.

One interesting thing is that the page runs quite fast on the local
computer which makes me wonder if it has any conjunction with how IIS 6
works. Anyway, the fact still remains that running with output buffering
on produces a fast page from anywhere.

Reproduce code:
---------------
<?

Try any mysql_query here.

?>
<HTML>
<BODY>
<?

Try any mysql_query here.

?>
<TABLE>
<?

Try any mysql_query here.

?>

etc...

Expected result:
----------------
Page loading in chunks


-- 
Edit bug report at http://bugs.php.net/?id=29853&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29853&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29853&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29853&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=29853&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=29853&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=29853&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=29853&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=29853&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=29853&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=29853&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=29853&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=29853&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=29853&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29853&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=29853&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=29853&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=29853&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29853&r=float

Reply via email to