2 ms·
The reference used to justify the 10:1 superiority of C++ http://shootout.alioth.debian.org/u32q/benchmark.php?test=all&lang=php&lang2=gpp&box=1 http://shootout
by jackfoxy 17y ago
The reference used to justify the 10:1 superiority of C++ http://shootout.alioth.debian.org/u32q/benchmark.php?test=all&lang=php&lang2=gpp&box=1 http://shootout.alioth.debian.org/u32q/benchmark.php?test=al... seems unlikely to have much bearing in this case. I doubt Facebook is calculating the Mandelbrot set or traversing huge binary trees in PHP.And as others have pointed out, CPU is hardly the only thing going on here.
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-linuxapache-iis.html 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.