Some times ago,
During the period on all innovation in JavaScript engine (TraceMonkey, V8, SquirrelFish Extreme), I asked me if it was possible to do the same improvement in the PHP engine. But I don't had time to investigate more in this way.
Before searching how to improve it, can be useful to benchmark it.
For this, a new
RFC is available on
http://wiki.php.net. And a development of some benchmark already existing in Javascript is started. You can find on
http://cvs.php.net/viewvc.cgi/php-benchmarks/ already 2 V8 benchmarks.
I propose you another benchmark,
raytracer.phar(43k). It look like 10x slower than the equivalent in JavaScript(
v8-raytrace.tar.gz(22k)) run under Google Chrome. I will investigate more on these benchmarks.
If you have 5 minutes, download these two benchmarks and do the comparison by yourself. And with some minutes more, just send me the results with the configuration used.
Code source:
raytracer.tar.gz(9k)
Read more!