Online PHP Function(s){ #Test PHP functions online!; }

  •  
 

PHP versions Benchmark

What PHP version is the fastest? I do a benchmark every week with all PHP versions installed on this website.

Specs of the machine

The benchmarks run on an openVZ VPS with 512MB ram and 2 cores ( Intel Xeon i7 W3520 ), the very same machine that handles all user PHP requests from this website.
Software installed: Minimal Centos 6.5, nginx and all phpversions this website uses.

How is it benchmarked?

This script is executed 100 times on every PHP version, takes the average score, and stores it in the database.
Download benchmark script

Results of 09/16/2014

<<< Results of 09/08/2014

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.5.5 3.55049 1.98729 0.60671 1.02752 7.17202 sec.
5.5.0.a6 1.46272 1.58511 0.44265 0.86799 4.35846 sec.
5.5.0.a.5 1.79712 1.45119 0.46045 0.75394 4.46271 sec.
5.5.0.a.2 1.64255 1.50120 0.43280 0.72202 4.29857 sec.
5.4.21 1.65302 1.71110 0.39246 0.78217 4.53875 sec.
5.4.13 1.58942 1.56435 0.43159 0.69923 4.28459 sec.
5.4.12 1.30938 1.50814 0.38732 0.68273 3.88757 sec.
5.4.11 1.24117 1.69169 0.39378 0.76505 4.09170 sec.
5.4.10 1.23382 1.52035 0.52973 0.82349 4.10738 sec.
5.4.9 1.33798 1.53344 0.59299 0.70812 4.17253 sec.
5.4.8 1.23622 1.69200 0.43383 0.79948 4.16154 sec.
5.4.7 1.26030 1.57992 0.38490 0.73753 3.96264 sec.
5.4.6 1.27705 1.96155 0.42443 0.86225 4.52529 sec.
5.4.5 1.27133 1.42347 0.43459 0.69779 3.82717 sec.
5.4.4 1.26398 1.45591 0.38656 0.82061 3.92707 sec.
5.4.3 1.44031 1.59765 0.38511 0.73127 4.15434 sec.
5.4.2 1.66923 1.53291 0.40026 0.70768 4.31007 sec.
5.4.1 1.39053 1.44091 0.37141 0.68019 3.88304 sec.
5.4.0 1.32562 1.50382 0.50567 0.77375 4.10886 sec.
5.3.27 1.31326 1.52430 0.60543 0.93336 4.37634 sec.
5.3.23 1.23240 1.61804 0.51621 0.93320 4.29986 sec.
5.3.22 1.36186 1.47997 0.51030 0.91136 4.26349 sec.
5.3.21 1.48557 1.51840 0.52865 1.01054 4.54315 sec.
5.3.20 1.62885 1.52068 0.51079 0.89888 4.55920 sec.
5.3.19 1.35872 1.49581 0.53336 0.96634 4.35424 sec.
5.3.18 1.53129 1.47703 0.68858 1.04105 4.73794 sec.
5.3.17 1.30534 1.50444 0.52522 0.92316 4.25817 sec.
5.3.16 1.53084 1.54945 0.56240 0.96997 4.61266 sec.
5.3.15 1.42264 1.43531 0.52281 0.90613 4.28689 sec.
5.3.14 1.51229 1.65902 0.53306 0.86576 4.57013 sec.
5.3.13 1.82486 1.76887 0.51626 0.91397 5.02395 sec.
5.3.12 1.56037 1.77866 0.52640 0.93653 4.80196 sec.
5.3.11 1.54189 1.90614 0.50063 0.93292 4.88158 sec.
5.3.10 1.52095 1.54812 0.52998 0.90434 4.50340 sec.
5.3.3 1.49995 1.71671 0.51186 0.86170 4.59022 sec.
5.3.2 1.50625 1.69638 0.52301 0.89942 4.62506 sec.
5.3.1 1.62478 1.66962 0.64471 0.94205 4.88116 sec.
5.3.0 1.67797 1.89709 0.56169 1.02987 5.16663 sec.
5.2.17 2.17739 2.04926 0.89596 2.20862 7.33122 sec.
5.2.16 2.46745 2.49857 1.08803 2.38935 8.44338 sec.
5.1.6 1.78716 2.33496 0.92372 2.14503 7.19087 sec.
5.1.5 1.58076 3.70967 0.85612 2.05577 8.20231 sec.
5.0.5 2.44653 3.20073 4.02383 5.74011 15.41119 sec.
5.0.4 2.00129 2.84206 4.07154 6.48562 15.40052 sec.
4.4.9 2.37186 3.04370 3.88346 5.22157 14.52059 sec.
 

<
 


 


Comments


No comments yet!


Post a comment


Your name:


Your email address:


Your website: (not required)


Comment:




Code above:


 
 
 
      © 2014 John Post - StarFixIT | Disclaimer | Contact
      PHP versions: 5.5.5, 5.5.0.a6, 5.5.0.a.5, 5.5.0.a.2, 5.4.21, 5.4.13, 5.4.12, 5.4.11, 5.4.10, 5.4.9, 5.4.8, 5.4.7, 5.4.6, 5.4.5, 5.4.4, 5.4.3, 5.4.2, 5.4.1, 5.4.0, 5.3.27, 5.3.23, 5.3.22, 5.3.21, 5.3.20, 5.3.19, 5.3.18, 5.3.17, 5.3.16, 5.3.15, 5.3.14, 5.3.13, 5.3.12, 5.3.11, 5.3.10, 5.3.3, 5.3.2, 5.3.1, 5.3.0, 5.2.17, 5.2.16, 5.1.6, 5.1.5, 5.0.5, 5.0.4, 4.4.9