Re:Facebook rewrites PHP runtime, will open source on Tuesday
by pvg on Sunday January 31, 2010 @06:41PM
(#1091337)
http://shootout.alioth.debian.org/u32q/benchmark.php?test=al...
Many of these are largely interpreter.
Re:Facebook rewrites PHP runtime, will open source on Tuesday
by igouy on Monday February 01, 2010 @06:21PM
(#1093782)
For the comparison you seem to be interested in choose the measurements where the programs are forced onto a single core
http://shootout.alioth.debian.org/u32/benchmark.php?test=all...
Re:Facebook rewrites PHP runtime, will open source on Tuesday
by pvg on Monday February 01, 2010 @08:18PM
(#1093994)
The argument being made was that the PHP runtime is 4-5 times slower than Python and that PHP only looks as fast as it does because of the C libraries. This is simply untrue and the OP wasn't able to back it up. Cores don't come into it.
Re:Facebook rewrites PHP runtime, will open source on Tuesday
by igouy on Tuesday February 02, 2010 @12:27PM
(#1095419)
The Python mandelbrot program uses 4 cores the PHP mandelbrot program uses 1 - that's why Python seems so much faster on mandelbrot.
The Python spectral-norm program uses 4 cores the PHP spectral-norm program uses 1 - that's why Python seems so much faster on spectral-norm.
The Python binary-trees program uses 4 cores the PHP binary-trees program uses 1 - that's why Python seems so much faster on binary-trees.
Re:Facebook rewrites PHP runtime, will open source on Tuesday
by pvg on Tuesday February 02, 2010 @06:56PM
(#1096609)
Right. Python is not 4-5 times faster than PHP. That was my point.
Re:Facebook rewrites PHP runtime, will open source on Tuesday
by pbiggar on Tuesday February 02, 2010 @05:43PM
(#1096425)
Actually I was basing it off the Language ShootOut. Last time I looked through it properly, Python was 16x slower than C, and PHP was 70x slower.
I wonder why its changed. PHP certainly hasn't gotten faster in the meantime.
You did read this part right?