/mobile Handheld Friendly website

÷

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

Each chart bar shows, for one unidentified benchmark, how much the fastest PHP program used compared to the fastest program.


These are not the only compilers and interpreters. These are not the only programs that could be written. These are not the only tasks that could be solved. These are just 10 tiny examples.

 2 : Are the PHP programs faster? Approximately.

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
 PHP used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)       

± read the measurements and then read the program source code.

 3 : Are the PHP programs faster? Measurements.

These are not the only tasks that could be solved. These are just 10 tiny examples. These are not the only compilers and interpreters. These are not the only programs that could be written.

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 
PHP0.150.15?384  0% 100% 0% 0%
No program
 binary-trees 
PHP1.031.035,020504  100% 1% 3% 1%
No program
 fannkuch-redux 
PHP15.944.2710,1441150  92% 94% 98% 95%
No program
 reverse-complement 
PHP0.090.11?297  73% 0% 0% 11%
No program
 fasta 
PHP0.730.752,5241110  97% 0% 3% 3%
No program
 n-body 
PHP7.537.542,5241082  0% 1% 100% 0%
No program
 k-nucleotide 
PHP3.080.9644,9801060  77% 94% 62% 94%
No program
 regex-dna 
PHP0.280.28252459  96% 0% 4% 4%
No program
 mandelbrot 
PHP5.141.3910,256863  91% 91% 91% 100%
No program
 spectral-norm 
PHP3.410.907,6681193  96% 96% 96% 92%
No program
 fasta-redux
   No programs

 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.

 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.4.11 (cli) (built: Jan 27 2013 11:58:31)

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   Conclusions   License   Play