Re: [PHP-DEV] performance of the new output api

2010-06-03 Thread Michael Wallner
On 06/02/2010 10:03 PM, John LeSueur wrote: On Wed, Jun 2, 2010 at 1:37 PM, Michael Wallner wrote: Now the script: typo: shouldn't this be $b/1024/1024? doh! :) You're right, but it doesn't really change anything in the comparison. Regards, Mike -- PHP Internals - PHP Runtime Developme

Re: [PHP-DEV] performance of the new output api

2010-06-02 Thread John LeSueur
On Wed, Jun 2, 2010 at 1:37 PM, Michael Wallner wrote: > > Now the script: > ini_set("memory_limit", "2G"); > > function mib($b) { >return $b ? number_format($b/1024/1204, 1, ".", "'") : "?"; > typo: shouldn't this be $b/1024/1024? John

[PHP-DEV] performance of the new output api

2010-06-02 Thread Michael Wallner
JFYI & SCNR, I produced some synthetic numbers of the performance comparing the new output control layer with the old one -- actually because I expected the new code to be less efficient than the one we had. I didn't have the chance to do this until now, because comparing php-unicode with php-5.