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 07/22/2014

<<< Results of 07/14/2014

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.5.5 4.14658 3.46622 0.46354 1.13700 9.21335 sec.
5.5.0.a6 2.85894 3.17790 1.04046 1.12907 8.20637 sec.
5.5.0.a.5 2.46034 3.62845 0.82013 1.29182 8.20075 sec.
5.5.0.a.2 2.48294 3.14235 0.66545 1.39252 7.68327 sec.
5.4.21 3.04571 2.82763 0.67648 1.44347 7.99328 sec.
5.4.13 2.99073 3.02480 0.71886 1.15631 7.89070 sec.
5.4.12 2.55927 3.42412 0.72573 1.51184 8.22096 sec.
5.4.11 2.64460 3.03819 0.73145 1.13338 7.54761 sec.
5.4.10 3.74719 3.38072 0.60100 0.94678 8.67568 sec.
5.4.9 3.30004 2.86373 0.99533 1.12960 8.28871 sec.
5.4.8 2.57445 3.63375 0.92605 1.60524 8.73949 sec.
5.4.7 3.45560 2.97727 0.69232 1.33244 8.45762 sec.
5.4.6 2.74052 2.94547 1.17712 1.17946 8.04258 sec.
5.4.5 2.65029 4.30811 0.69656 1.35067 9.00563 sec.
5.4.4 2.65844 2.94396 0.66071 1.21688 7.47998 sec.
5.4.3 3.12614 3.69954 0.86220 1.46497 9.15285 sec.
5.4.2 2.90316 2.40297 1.02718 1.29730 7.63061 sec.
5.4.1 2.79003 2.85239 0.77589 1.23148 7.64979 sec.
5.4.0 3.07526 3.14713 0.77750 1.38679 8.38669 sec.
5.3.27 2.84538 3.34413 0.77170 1.22107 8.18229 sec.
5.3.23 3.30541 4.73984 1.04444 1.88302 10.97271 sec.
5.3.22 3.31999 3.59456 1.04171 1.64465 9.60090 sec.
5.3.21 3.34174 3.19666 0.84021 1.31999 8.69860 sec.
5.3.20 3.27529 3.67147 1.03392 1.44453 9.42521 sec.
5.3.19 3.36080 3.39875 0.93694 1.58693 9.28342 sec.
5.3.18 2.96963 3.18028 1.12818 1.22951 8.50760 sec.
5.3.17 3.16056 3.68744 1.25660 1.56304 9.66764 sec.
5.3.16 2.89917 2.65325 0.83308 1.61070 7.99621 sec.
5.3.15 3.14199 2.94925 0.85245 1.32365 8.26733 sec.
5.3.14 3.35997 3.37841 0.93663 1.47144 9.14645 sec.
5.3.13 3.77556 3.59834 0.83298 1.47418 9.68106 sec.
5.3.12 3.31722 3.59764 0.85891 1.41510 9.18888 sec.
5.3.11 3.24191 3.66786 2.20581 1.88421 10.99978 sec.
5.3.10 4.15051 4.12955 1.06463 1.69331 11.03800 sec.
5.3.3 4.60870 4.48264 0.83469 1.34652 11.27255 sec.
5.3.2 3.30833 3.84188 0.90124 1.43542 9.48687 sec.
5.3.1 3.14770 3.05649 1.10412 1.41411 8.72243 sec.
5.3.0 4.07938 4.55050 0.80984 1.42384 10.86357 sec.
5.2.17 3.62178 4.49762 1.43777 3.24616 12.80333 sec.
5.2.16 3.51786 3.96810 1.57139 3.62666 12.68401 sec.
5.1.6 3.72292 4.60583 1.48806 3.27127 13.08807 sec.
5.1.5 2.81671 5.34311 1.59869 3.21706 12.97557 sec.
5.0.5 4.30752 7.01404 5.99756 8.83115 26.15027 sec.
5.0.4 3.98935 6.23451 6.32159 8.58296 25.12840 sec.
4.4.9 4.34265 5.03430 5.16723 8.79150 23.33569 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