Originally posted by: notfred
Yes, PHP is slow.
They test 30 languages for speed.
Ackerman's function: PHP scores second to last in CPU time.
Array Access: PHP is second to last.
Counting lines/words/characters: PHP is 24th out of 28 completed tests.|
Cmputing fibonacci numbers: PHP is second to last.
Accessing a hash: PHP did pretty average, coming in 16th.
They ran a second hash test, in which PHP came in third from last.
In heapsort, PHP came in second to last.
For a simple "hello world" program, PHP came in 22nd
Multiplying matrices: PHP came in dead last.
Running nested loops: PHP came in dead last.
Random number generation, PHP is dead last
Reversing a file: PHP is second to last.
Sieve of Eratosthenes benchmark: PHP is second to last
As a spell checker, PHP came in 22nd.
Fairly average in string concatenation, at 17th.
Adding integers, PHP is 3rd to last.
The ONLY language that PHP consistently outperformed was gawk.
All you PHP fanboys can jump off your high horse now.