Fwd: Re: [PHP-DEV] Re: Any idea why we have two html_puts()'s?
| From: | Zeev Suraski | Date: | Sun, 12 May 2002 16:53:43 +0000 |
| Subject: | Fwd: Re: [PHP-DEV] Re: Any idea why we have two html_puts()'s? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-83941@lists.php.net to get a copy of this message | ||
I messed up on the test, I left output buffering enabled for tests 2 and 3. So you can see that using output buffering on top of the global output buffering (whether specialized or not) slows you down by about 30%.
However, to be fair, the numbers w/o global output buffering enabled:
Specialied OB: 26 req/s PHP OB (C level, for each separate string): 23 req/s
By far, the quickest solution is to use output buffering for the entire page.No buffering: 12 req/s Specialized OB: 36.3 req/s PHP OB (C level, for each separate string): 35.9 req/s PHP OB (userland, for the entire phpinfo()): 50 req/s