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 11/23/2014

<<< Results of 11/10/2014

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.6.2 1.42143 1.95324 0.32048 0.41365 4.10880 sec.
5.5.18 0.88662 0.98439 0.31145 0.40871 2.59116 sec.
5.5.5 0.87181 0.99822 0.35272 0.44368 2.66643 sec.
5.5.0.a6 0.89290 0.94476 0.29877 0.39721 2.53364 sec.
5.5.0.a.5 0.86924 0.96144 0.30254 0.39947 2.53268 sec.
5.5.0.a.2 0.83388 0.93940 0.30474 0.42074 2.49876 sec.
5.4.34 0.87970 0.94543 0.30759 0.43670 2.56942 sec.
5.4.21 0.87870 0.97034 0.36443 0.41779 2.63127 sec.
5.4.13 0.86685 1.19883 0.30298 0.41137 2.78002 sec.
5.4.12 0.94807 0.95413 0.32520 0.41158 2.63899 sec.
5.4.11 0.85401 0.95041 0.29912 0.43886 2.54239 sec.
5.4.10 0.91820 1.10857 0.29794 0.40600 2.73071 sec.
5.4.9 0.90138 0.97827 0.29573 0.44490 2.62028 sec.
5.4.8 0.95894 0.98486 0.33774 0.43401 2.71555 sec.
5.4.7 0.85559 1.11220 0.31387 0.53052 2.81218 sec.
5.4.6 1.05261 0.96934 0.32825 0.41575 2.76595 sec.
5.4.5 0.90593 1.00229 0.37834 0.43539 2.72195 sec.
5.4.4 0.88203 1.03750 0.33271 0.42350 2.67575 sec.
5.4.3 0.85583 0.94141 0.30419 0.41134 2.51278 sec.
5.4.2 0.85846 1.21942 0.30271 0.42262 2.80321 sec.
5.4.1 0.93198 0.97421 0.29588 0.45420 2.65627 sec.
5.4.0 0.87270 0.99103 0.40015 0.68221 2.94609 sec.
5.3.29 1.43420 1.13905 0.44214 0.75258 3.76797 sec.
5.3.27 1.27689 1.23889 0.50941 0.74189 3.76708 sec.
5.3.23 0.93656 1.17450 0.49083 0.74567 3.34756 sec.
5.3.22 0.97613 1.14323 0.44936 0.82657 3.39529 sec.
5.3.21 0.97033 1.01275 0.42783 0.81143 3.22234 sec.
5.3.20 0.94243 1.03291 0.49462 0.91639 3.38635 sec.
5.3.19 0.98398 1.02504 0.43311 0.88800 3.33013 sec.
5.3.18 1.00179 1.04025 0.43521 0.70982 3.18707 sec.
5.3.17 0.91614 1.01153 0.44926 0.80177 3.17870 sec.
5.3.16 0.93544 1.09868 0.44574 0.72649 3.20633 sec.
5.3.15 0.97559 1.15498 0.43305 0.75141 3.31503 sec.
5.3.14 1.08541 1.14293 0.42735 0.83882 3.49450 sec.
5.3.13 1.20762 1.18354 0.48570 0.72562 3.60248 sec.
5.3.12 1.09622 1.12524 0.43418 0.72497 3.38061 sec.
5.3.11 1.41971 1.34610 0.44316 0.71124 3.92020 sec.
5.3.10 1.05516 1.24052 0.43341 0.72158 3.45067 sec.
5.3.3 1.30976 1.23709 0.76958 1.09557 4.41200 sec.
5.3.2 1.17559 1.18817 0.46593 0.75807 3.58776 sec.
5.3.1 1.36115 1.26061 0.48185 0.74208 3.84569 sec.
5.3.0 1.12399 1.14132 0.42646 0.71588 3.40765 sec.
5.2.17 1.17981 1.36590 0.60808 1.42773 4.58152 sec.
5.2.16 1.35545 1.23156 0.67073 2.21323 5.47097 sec.
5.1.6 1.04833 1.51701 0.61241 1.30789 4.48565 sec.
5.1.5 1.19485 1.53275 0.62886 1.37836 4.73482 sec.
5.0.5 1.77837 2.23686 2.77010 4.04482 10.83015 sec.
5.0.4 1.49236 1.95548 2.88115 3.80830 10.13729 sec.
4.4.9 1.61446 2.05265 2.89134 4.17324 10.73168 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.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