|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-09-26 18:28 UTC] iliaa@php.net
[2002-10-01 02:44 UTC] f dot labanvoye at cg70 dot fr
[2002-10-01 05:21 UTC] yohgaki@php.net
[2002-10-14 08:10 UTC] f dot labanvoye at cg70 dot fr
[2002-10-24 15:34 UTC] iliaa@php.net
[2002-10-28 02:58 UTC] f dot labanvoye at cg70 dot fr
[2002-10-28 10:52 UTC] iliaa@php.net
[2002-10-29 04:37 UTC] f dot labanvoye at cg70 dot fr
[2002-10-29 05:11 UTC] sniper@php.net
[2002-10-29 07:57 UTC] f dot labanvoye at cg70 dot fr
[2002-10-29 08:33 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 20 22:00:01 2025 UTC |
on Windows 2000 SP2 FR, and php 4.2.3, the outbut buffer seems to not work correctly. i make test to see the time taken to output data, and this time is not linear. explain, with output buffer = on in php.ini, all works fine. but with output_buffer=off ou output_buffer = 4096 or 8192 or more, the time for output data is very strange. the script: <? include "exectimer.class.php"; $tip = new VWT_execTimeProfiler(); $suite = " vs print"; $max = 10000; $tip->start(); $tip->watch("echo double"); for( $i=0;$i<$max;$i++) { print "echo $suite"; } echo "<hr>"; $tip->watch("echo en simple"); for( $j=0;$j<$max;$j++) { print 'echo '.$suite; } $tip->stop(); $tip->show(); ?> the first for loop can take 100 ms to 800 ms when i change the size of output buffer. if i increase the loop count, then the time for the second loop inrease, but the firt loop decrease. When output_buffer is on, all works fine. I don't see this bug on Linux. PS: sorry for my bad english...