Facebook (PHP) is not very Copenhagen (Change to C++ to save planet)
webtoolkit.eu
webtoolkit.eu
Most likely, the overhead of running a server is so large that the power consumption problem is all about saving servers, rather than saving CPU cycles. In which case these other variables are just as likely to be a big concern as the speed of your HTML template's WHILE loops.
In other words, this article's author is railing against some imagined version of Facbook running some imagined implementation of PHP, not the Facebook that actually exists running PHP with opcode caching and memcached.
It's an opcode cache. It doesn't need to gain features until it can read email.
Useful real-world benchmarks of even simple real-world systems are rare and require a lot of resource (mostly human) to construct. Here's an example benchmark I proposed once. http://jackfoxy.blogspot.com/2009/10/time-for-real-world-lin... At the time I couldn't find any bechmarks anything like this. I haven't tried looking since, but I suspect no one has bothered. It's a lot of work.
It's quite possible that the solution to your particular problem can be better expressed in another language than PHP, or will run faster under a different language's runtime. This doesn't mean that PHP "is slow". It might mean that your problem is an imperfect fit for a PHP-based architecture at your particular scale.
I don't believe any PHP runtime can ever be the fastest solution for a problem. The language requires runtime type checks and coercions inside the operators and builtin functions, both keyed and ordered access to every collection, ad hoc creation and destruction of variable bindings by name, and dynamically switching to reference semantics for any existing value. Each of these imposes a cost on passing arguments and evaluating expressions, and I didn't find any of them paid off by making code much simpler.
http://www.inference.phy.cam.ac.uk/withouthotair/c19/page_11...
On a related note, I suggest the everyone run Wattzon.org to see where their carbon footprint comes from. I found that while I was a much lower user on everything else, heat accounted for 40% of my entire carbon footprint. Immediately I ran around the house and fixed the duct vents that I could close before, and now I'll have probably halved that, saving me $15 a month, $180 a year, and 20% of my carbon footprint.
Seriously! Little fixes can make huge changes.