On Aug 16, 2009, at 2:25 PM, Paul Biggar wrote:
I've seen that you talked about branch prediction misses in your
paper. Did you ever tried to compile the original PHP with different
compilers, for example from intel or sun studio? Did you test or have
you ever heard of someone who tested the influence of the profiling
feedback that modern C compilers offer? (Well don't ask me - it's
somewhere on my TODO list - but i also haven't had the time yet).
I tried FDO with gcc 4.4 on phc generated code, but not on the PHP
interpreter. I've not looked at other compilers either.
I tried Sun Studio 12 feedback profile based optimization on Solairs
sparc
and found only a small gain (~1.5%) in a ecommerce php application.
Moreover feedback
optimizations works sometimes if it is trained with same set of samples
(which I avoided in my measurements). Feedback optimization however
helped me find out where compiler is doing additional inlining.
Coolstack provided php binaries which is compiled with Studio 12
feedback optimization.
Basant.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php