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 10/01/2014

<<< Results of 09/22/2014

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.5.5 5.06972 3.55512 1.28582 1.36771 11.27837 sec.
5.5.0.a6 2.75760 3.16253 0.83377 1.47632 8.23022 sec.
5.5.0.a.5 2.66831 4.67603 0.99241 2.18064 10.51740 sec.
5.5.0.a.2 4.56247 3.27225 1.03373 1.43941 10.30787 sec.
5.4.21 3.31534 3.50295 0.59268 0.96963 8.38060 sec.
5.4.13 2.71744 3.66775 0.80136 1.81208 8.99863 sec.
5.4.12 3.64483 2.79786 0.65560 1.23539 8.33368 sec.
5.4.11 3.06660 2.90190 0.76284 0.98798 7.71933 sec.
5.4.10 3.38967 3.39681 0.69605 1.20151 8.68404 sec.
5.4.9 2.84763 3.37689 0.80739 1.07843 8.11033 sec.
5.4.8 3.29971 3.26999 0.66841 1.03213 8.27024 sec.
5.4.7 2.99282 3.39552 0.69153 1.53224 8.61210 sec.
5.4.6 2.86951 3.25841 0.69476 1.43502 8.25771 sec.
5.4.5 3.03544 3.06122 0.56542 0.98084 7.64292 sec.
5.4.4 2.76056 2.96589 0.59283 1.03604 7.35532 sec.
5.4.3 3.14647 3.30753 0.77390 0.96621 8.19410 sec.
5.4.2 2.81217 3.22586 0.81759 1.12256 7.97817 sec.
5.4.1 3.19589 3.90243 0.85609 1.24110 9.19551 sec.
5.4.0 4.18794 4.41682 0.75596 1.22562 10.58634 sec.
5.3.27 3.27169 3.94773 0.93006 1.18303 9.33250 sec.
5.3.23 3.56438 3.53639 1.43506 1.39585 9.93168 sec.
5.3.22 2.22293 2.97571 0.97290 1.41802 7.58955 sec.
5.3.21 4.06310 3.18211 0.80634 1.58181 9.63336 sec.
5.3.20 2.59926 2.91820 0.84012 1.21091 7.56848 sec.
5.3.19 2.67540 3.28649 0.85584 1.64582 8.46354 sec.
5.3.18 3.23964 2.75918 0.79508 1.38912 8.18303 sec.
5.3.17 3.94567 3.22080 0.84572 1.27825 9.29044 sec.
5.3.16 2.73127 2.79981 0.80796 1.42104 7.76008 sec.
5.3.15 3.09545 3.08510 0.89727 1.31431 8.39213 sec.
5.3.14 3.03910 3.49389 0.84583 1.36407 8.74289 sec.
5.3.13 3.10573 3.27077 0.82819 1.91012 9.11480 sec.
5.3.12 3.13815 3.33068 0.82591 1.40838 8.70312 sec.
5.3.11 2.90120 3.07495 0.78033 2.92131 9.67779 sec.
5.3.10 3.71265 3.82515 0.99273 1.35090 9.88143 sec.
5.3.3 3.40983 3.42542 0.87457 1.61469 9.32450 sec.
5.3.2 3.26250 3.38174 0.87773 1.33082 8.85279 sec.
5.3.1 3.28792 3.12766 0.88206 1.15862 8.45625 sec.
5.3.0 2.99076 3.99629 0.77285 1.65305 9.41295 sec.
5.2.17 3.41248 3.96211 1.29102 3.14141 11.80702 sec.
5.2.16 2.99217 3.33875 1.57019 2.97663 10.87775 sec.
5.1.6 2.93128 5.45192 2.06620 3.59906 14.04846 sec.
5.1.5 3.24161 4.87276 1.32416 3.94452 13.38305 sec.
5.0.5 4.84016 5.85148 5.89019 8.71720 25.29903 sec.
5.0.4 3.72490 5.00079 6.20676 7.51631 22.44877 sec.
4.4.9 3.92735 5.63660 6.46051 8.12514 24.14960 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