÷

 Step 1 : Are the PHP programs faster? At a glance.

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.


 Step 2 : Are the PHP programs faster? Approximately.

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.

 Step 3 : Are the PHP programs faster? Measurements.

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 
PHP22.3922.415,864736  100% 0% 0% 1%
No program
 binary-trees 
PHP3.711.4912,1081089  65% 74% 40% 83%
No program
 fannkuch 
PHP34.669.625,212745  88% 94% 92% 91%
No program
 reverse-complement 
PHP0.100.11?343  0% 50% 0% 82%
No program
 fasta 
PHP3.493.495,2041030  1% 0% 1% 100%
No program
 n-body 
PHP15.0515.095,2241255  0% 100% 0% 0%
No program
 k-nucleotide 
PHP5.921.7161,8161268  89% 81% 88% 89%
No program
 regex-dna 
PHP0.580.243,1801044  61% 58% 50% 75%
No program
 mandelbrot 
PHP15.534.3021,476863  92% 98% 87% 94%
No program
 spectral-norm 
PHP11.283.0613,6041193  88% 97% 94% 91%
No program
 chameneos-redux
   No programs

 Step 4 : Are there other PHP programs for these benchmarks?

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.

 Step 5 : Are there other faster programs for these benchmarks?

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 : scripts embedded in html and much more 

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

Revised BSD license

  Home   Flawed   Fastest   License   Help