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

>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

By far, the quickest solution is to use output buffering for the entire page.


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to