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 06/28/2015

<<< Results of 06/15/2015

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.6.2 0.97220 0.99415 0.31350 0.40446 2.68431 sec.
5.5.18 0.86088 0.95261 0.30390 0.40918 2.52657 sec.
5.5.5 0.91251 0.97098 0.33125 0.46711 2.68185 sec.
5.5.0.a6 0.86409 0.94890 0.30155 0.40192 2.51646 sec.
5.5.0.a.5 0.87394 0.92696 0.29935 0.40059 2.50084 sec.
5.5.0.a.2 0.83319 0.92118 0.29991 0.39963 2.45392 sec.
5.4.34 0.86928 0.95672 0.31235 0.41469 2.55305 sec.
5.4.21 0.91792 0.98589 0.30406 0.42021 2.62808 sec.
5.4.13 0.88363 0.98111 0.30473 0.43252 2.60199 sec.
5.4.12 0.90523 1.01175 0.31188 0.45246 2.68131 sec.
5.4.11 0.89818 1.10891 0.30273 0.44488 2.75469 sec.
5.4.10 0.88779 0.96696 0.29826 0.40864 2.56166 sec.
5.4.9 0.89331 0.97887 0.29937 0.50485 2.67641 sec.
5.4.8 0.87810 0.97902 0.31149 0.44182 2.61043 sec.
5.4.7 0.87904 0.97218 0.29871 0.42668 2.57662 sec.
5.4.6 0.94990 1.00635 0.30131 0.43771 2.69527 sec.
5.4.5 0.87167 1.02613 0.29930 0.41448 2.61158 sec.
5.4.4 0.89909 0.99353 0.37805 0.41864 2.68931 sec.
5.4.3 0.87341 0.97256 0.32847 0.41737 2.59182 sec.
5.4.2 0.86933 0.98220 0.34258 0.41477 2.60887 sec.
5.4.1 0.88827 0.96403 0.29872 0.41426 2.56528 sec.
5.4.0 0.87830 0.98974 0.36562 0.57818 2.81184 sec.
5.3.29 1.45229 1.03073 0.44498 0.75286 3.68085 sec.
5.3.27 1.06127 1.04064 0.45087 0.75165 3.30444 sec.
5.3.23 0.94497 1.02808 0.44580 0.75719 3.17604 sec.
5.3.22 0.95109 1.05250 0.44681 0.77507 3.22546 sec.
5.3.21 1.14855 1.08097 0.43083 0.72633 3.38668 sec.
5.3.20 0.95423 1.02988 0.43676 0.72061 3.14149 sec.
5.3.19 1.01355 1.04171 0.44264 0.73802 3.23592 sec.
5.3.18 0.96113 1.02142 0.45306 0.69266 3.12827 sec.
5.3.17 0.93168 1.00598 0.44353 0.73979 3.12099 sec.
5.3.16 0.94116 1.03448 0.45347 0.74742 3.17653 sec.
5.3.15 0.93671 1.02080 0.44330 0.75566 3.15646 sec.
5.3.14 1.15586 1.21446 0.44163 0.73791 3.54986 sec.
5.3.13 1.10153 1.20620 0.44106 0.73004 3.47884 sec.
5.3.12 1.07900 1.14259 0.44014 0.73436 3.39609 sec.
5.3.11 1.10190 1.16388 0.44198 0.73856 3.44632 sec.
5.3.10 1.07463 1.18894 0.43320 0.73154 3.42831 sec.
5.3.3 1.08799 1.18992 0.44259 0.86482 3.58532 sec.
5.3.2 1.34816 1.57640 0.45141 0.73521 4.11118 sec.
5.3.1 1.10773 1.22750 0.44054 0.72696 3.50274 sec.
5.3.0 1.15744 1.18255 0.43515 0.72034 3.49548 sec.
5.2.17 1.19150 1.23791 0.63970 1.42224 4.49135 sec.
5.2.16 1.17414 1.20030 0.63476 1.32484 4.33405 sec.
5.1.6 1.07030 1.52549 0.61384 1.33337 4.54300 sec.
5.1.5 1.10254 1.53474 0.63708 1.39648 4.67085 sec.
5.0.5 1.74379 2.17962 2.81853 3.99309 10.73503 sec.
5.0.4 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
4.4.9 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
 

<
 


 


Comments


No comments yet!


Post a comment


Your name:


Your email address:


Your website: (not required)


Comment:




Code above:


 
 
 
      © 2015 OnlinePHPFunctions.com | Disclaimer | Contact
      PHP versions: 5.6.2, 5.5.18, 5.5.5, 5.5.0.a6, 5.5.0.a.5, 5.5.0.a.2, 5.4.34, 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.29, 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