Ubuntu : Intel® Q6600® quad-core |
This chart shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.
Each chart bar shows, for one unidentified benchmark, how much the fastest PHP program used compared to the fastest program.
This table shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.
Each table row shows, for one named benchmark, how much the fastest PHP program used compared to the fastest program.
| PHP used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | |
± read the measurements and then read the program source code.
This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ≈ CPU Load ~ speed and size.
For each named benchmark, measurements of the fastest PHP program are shown for comparison against measurements of the fastest program.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ≈ CPU Load |
|---|---|---|---|---|---|
| pidigits | |||||
| PHP | 22.39 | 22.41 | 5,864 | 736 | 100% 0% 0% 1% |
| binary-trees | |||||
| PHP | 3.71 | 1.49 | 12,108 | 1089 | 65% 74% 40% 83% |
| fannkuch | |||||
| PHP | 34.66 | 9.62 | 5,212 | 745 | 88% 94% 92% 91% |
| reverse-complement | |||||
| PHP | 0.10 | 0.11 | ? | 343 | 0% 50% 0% 82% |
| fasta | |||||
| PHP | 3.49 | 3.49 | 5,204 | 1030 | 1% 0% 1% 100% |
| n-body | |||||
| PHP | 15.05 | 15.09 | 5,224 | 1255 | 0% 100% 0% 0% |
| k-nucleotide | |||||
| PHP | 5.92 | 1.71 | 61,816 | 1268 | 89% 81% 88% 89% |
| regex-dna | |||||
| PHP | 0.58 | 0.24 | 3,180 | 1044 | 61% 58% 50% 75% |
| mandelbrot | |||||
| PHP | 15.53 | 4.30 | 21,476 | 863 | 92% 98% 87% 94% |
| spectral-norm | |||||
| PHP | 11.28 | 3.06 | 13,604 | 1193 | 88% 97% 94% 91% |
| chameneos-redux | |||||
Remember - those are just the fastest PHP and programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for PHP.
Maybe one of those other PHP programs is fastest on a different OS/machine.
Remember - those are just the fastest PHP and programs measured on this OS/machine. Check if there are faster implementations of these benchmark programs for other programming languages.
Maybe one of those other programs is fastest on a different OS/machine.
PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7 (cli) (built: Jan 6 2010 22:41:56)
Overall Performance: PHP is rarely the bottleneck (HTML slides)
Home Page: http://www.php.net/
Download: http://www.php.net/downloads.php