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 08/26/2015

<<< Results of 08/17/2015

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.6.2 0.95467 0.97433 0.30687 0.40719 2.64306 sec.
5.5.18 0.86322 0.95911 0.30456 0.41082 2.53771 sec.
5.5.5 0.91146 0.97791 0.33553 0.42982 2.65471 sec.
5.5.0.a6 0.87797 0.97226 0.30494 0.40090 2.55608 sec.
5.5.0.a.5 0.87765 0.93608 0.30444 0.39898 2.51715 sec.
5.5.0.a.2 0.88094 0.97107 0.34172 0.40340 2.59712 sec.
5.4.34 0.88987 0.96483 0.31842 0.41756 2.59069 sec.
5.4.21 0.96978 0.98148 0.29976 0.41718 2.66820 sec.
5.4.13 0.90801 0.96715 0.30668 0.41274 2.59459 sec.
5.4.12 0.88680 0.96826 0.30141 0.41271 2.56918 sec.
5.4.11 0.87807 0.95234 0.31012 0.44884 2.58937 sec.
5.4.10 0.89001 0.98442 0.30170 0.41454 2.59067 sec.
5.4.9 0.89913 0.96300 0.37683 0.81175 3.05070 sec.
5.4.8 1.05731 0.99979 0.31675 0.45305 2.82690 sec.
5.4.7 0.89526 0.99086 0.32708 0.56610 2.77930 sec.
5.4.6 0.96478 1.00883 0.30239 0.43040 2.70639 sec.
5.4.5 0.94408 1.02880 0.32428 0.43465 2.73180 sec.
5.4.4 0.92147 1.00157 0.33989 0.41800 2.68093 sec.
5.4.3 0.89797 0.98677 0.30493 0.41139 2.60106 sec.
5.4.2 0.88533 0.99158 0.30199 0.41352 2.59242 sec.
5.4.1 0.89833 0.98802 0.30915 0.41493 2.61043 sec.
5.4.0 0.89485 1.01711 0.37422 0.51358 2.79976 sec.
5.3.29 1.02520 1.12659 0.45250 0.75553 3.35981 sec.
5.3.27 0.96826 1.04802 0.45785 0.75644 3.23056 sec.
5.3.23 0.94445 1.02871 0.44426 0.76461 3.18203 sec.
5.3.22 0.95138 1.02158 0.43907 0.78809 3.20011 sec.
5.3.21 0.96757 1.03765 0.44042 0.72548 3.17113 sec.
5.3.20 0.96791 1.05340 0.44567 0.73287 3.19984 sec.
5.3.19 0.97960 1.03864 0.45051 0.74347 3.21222 sec.
5.3.18 0.96939 1.02396 0.45323 0.70211 3.14869 sec.
5.3.17 0.94340 1.01598 0.44786 0.74001 3.14725 sec.
5.3.16 0.94603 1.03258 0.45364 0.74650 3.17876 sec.
5.3.15 1.64750 1.31348 0.67775 0.76334 4.40207 sec.
5.3.14 1.10591 1.17370 0.45008 0.74034 3.47003 sec.
5.3.13 1.09582 1.15676 0.45913 0.74110 3.45281 sec.
5.3.12 1.15975 1.16959 0.44434 0.73761 3.51129 sec.
5.3.11 1.12781 1.20412 0.44446 0.75405 3.53044 sec.
5.3.10 1.07256 1.15170 0.43330 0.73246 3.39003 sec.
5.3.3 1.11499 1.17596 0.44304 0.86063 3.59463 sec.
5.3.2 1.14602 1.20414 0.44495 0.74188 3.53699 sec.
5.3.1 1.12935 1.17803 0.44577 0.74621 3.49936 sec.
5.3.0 1.13896 1.19455 0.43891 0.74014 3.51257 sec.
5.2.17 1.21621 1.26029 0.61866 1.38299 4.47814 sec.
5.2.16 1.18653 1.23611 0.66299 1.36812 4.45376 sec.
5.1.6 1.08701 1.56122 0.61044 1.33644 4.59511 sec.
5.1.5 1.05907 1.54846 0.63540 1.41579 4.65873 sec.
5.0.5 1.74808 2.16269 3.43978 4.04600 11.39655 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