Andi Gutmans wrote:
Thanks for posting this info. It definitely sounds like we should
concentrate on the 0 length script at this point. I saw Dmitry already
made some good improvements.
Yup, that patch helped. And I guess on some architectures 5.1 is faster
now, but there is still a bit of a gap, at least on this Linux box I am
testing on:
http://www.php.net/~rasmus/bm2.png
The 5.1.3m version there is one where I got rid of the
ap_add_common_vars() and ap_add_cgi_vars() calls in
sapi/apache_mod_php5.c just to see how much it would help. On the empty
case which is all about start/shutdown, it had the expected effect, but
as we do more in the request the effect disappears.
-Rasmus
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php