>it would be better to compare the programs forced onto one core
How is that fair? Python has true multi process capabilities where PHP does not. You can run Django and other web frameworks in multi process modes that would spread load out better utilizing system resources. This isn't true of PHP, from what limited knowledge I have.
While they're comparable under a single process, PHP does not scale nearly as well as Python does.
I don't understand why you felt the need to comment when you say yourself "from what limited knowledge I have".
PHP and Python both have "true multi process capabilities". It's called forking. I think you are confusing forking with threading.
From the "≈ CPU Load" we can see that:
- regex-dna - the Python program was written for multi-core the PHP program wasn't
- spectral-norm - the Python program was written for multi-core the PHP program wasn't
- k-nucleotide - the Python program was written for multi-core the PHP program wasn't
- mandelbrot - the Python program was written for multi-core the PHP program wasn't
- binary-trees - the Python program was written for multi-core the PHP program wasn't
So it would be better to compare the programs forced onto one core, and that shows the PHP programs compare well to the Python programs -
http://shootout.alioth.debian.org/u64/benchmark.php?test=all...