bench.php is a totally unrealistic benchmark that has nothing todo with
real life PHP applications. Of course when you call a function several

It tests the engine speed. Of course, in life of PHP script there are other things, that's why I said "and" - to put it in context.

million times the performance penalty will be big if you add code that
executed with every function call. But in reality PHP applications don't
call millions of functions. Most of the waiting time in PHP applications

Maybe not millions for typical application, but thousands and tens of thousands - they do. In any case, the patch in question added function call (or at the very best branch) with every variable access - which could be millions.

is waiting for disk/DB I/O operations.

That's why people do caching.
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED]  http://www.zend.com/

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

Reply via email to