Re: [SMARTY] yet another benchmark
| From: | Nick Wilson | Date: | Mon, 10 Jun 2002 21:08:20 +0000 |
| Subject: | Re: [SMARTY] yet another benchmark | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4747@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* and then Monte Ohrt declared....
> Peter Bowyer brought up an interesting point though:
>
> As you can see in the source, I echo a period "." and flush() the
> contents after every iteration. This way you can watch the progress. I'm
> wondering, does browser latency affect this? In other words, if I do a
> flush() in PHP, does it wait for an acknowledgement from the client
> (browser) before continuing? If so, I should remove this as it would
> most likely affect benchmarks.
I don't think so. But I'm certainly not 100%
I picked this up from the manual:
<quote>
Note: flush() has no effect on the buffering scheme of your webserver or the browser on the client
side.
</quote>
If that helps any ;-)
- --
Nick Wilson // www.explodingnet.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE9BRVEHpvrrTa6L5oRAq2MAJkBdvmCgNMpTqzeBPPeNJlK5RQBQgCeMbF8
bH9Qh3KXM2GH1JYp11Ak7dg=
=Y14Y
-----END PGP SIGNATURE-----