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/28/2014

<<< Results of 07/21/2014

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.5.5 3.71052 2.93894 0.64546 1.80568 9.10059 sec.
5.5.0.a6 3.02043 3.70383 0.66497 1.04350 8.43274 sec.
5.5.0.a.5 2.64744 2.44488 0.63660 1.01039 6.73931 sec.
5.5.0.a.2 2.11385 2.69638 0.61659 1.14782 6.57464 sec.
5.4.21 2.85694 2.71490 0.79679 1.38560 7.75423 sec.
5.4.13 3.15343 2.70466 0.61193 1.01106 7.48108 sec.
5.4.12 3.01266 2.91517 0.68506 1.37732 7.99021 sec.
5.4.11 3.32246 3.18164 0.91968 1.52699 8.95077 sec.
5.4.10 3.21486 2.82276 0.59056 1.24146 7.86964 sec.
5.4.9 2.56637 3.50590 1.08294 0.97385 8.12906 sec.
5.4.8 2.32904 2.56805 0.64155 1.20872 6.74736 sec.
5.4.7 2.72638 2.80188 0.69472 1.08044 7.30342 sec.
5.4.6 2.63094 3.34695 0.77669 1.07076 7.82535 sec.
5.4.5 2.72487 2.75072 0.57739 0.95108 7.00405 sec.
5.4.4 2.69575 3.31697 1.02117 1.02775 8.06164 sec.
5.4.3 2.34482 2.87522 0.55060 0.99685 6.76750 sec.
5.4.2 3.06365 2.97410 0.67644 1.56664 8.28083 sec.
5.4.1 2.73002 2.71332 1.04929 1.26937 7.76200 sec.
5.4.0 2.38783 2.65281 0.76255 1.21929 7.02247 sec.
5.3.27 2.61835 2.64480 0.85083 1.51042 7.62441 sec.
5.3.23 2.35973 3.39140 0.90025 1.45530 8.10668 sec.
5.3.22 2.94198 3.19358 0.92855 1.26585 8.32996 sec.
5.3.21 3.19384 2.67761 0.78154 1.40131 8.05430 sec.
5.3.20 2.77729 2.84317 0.80796 1.25998 7.68840 sec.
5.3.19 2.78643 3.02763 0.97533 1.50437 8.29376 sec.
5.3.18 3.01744 3.05944 0.79169 1.33551 8.20409 sec.
5.3.17 2.79146 2.83418 0.78143 1.60803 8.01510 sec.
5.3.16 2.53591 2.75499 1.13172 1.59733 8.01994 sec.
5.3.15 2.73645 3.09713 0.83409 1.41588 8.08356 sec.
5.3.14 3.68634 3.83616 1.00504 1.32071 9.84825 sec.
5.3.13 3.54286 3.15151 0.79563 1.29805 8.78804 sec.
5.3.12 3.03918 3.93553 1.06064 1.23514 9.27050 sec.
5.3.11 2.92286 2.67574 0.91393 1.68669 8.19922 sec.
5.3.10 3.15853 3.67074 0.88009 1.58629 9.29565 sec.
5.3.3 3.06524 3.25306 0.84633 1.35813 8.52276 sec.
5.3.2 3.54057 5.06514 0.94296 1.53420 11.08286 sec.
5.3.1 3.45837 3.98937 1.11739 1.61311 10.17824 sec.
5.3.0 3.41679 3.26155 0.89490 1.61352 9.18676 sec.
5.2.17 3.51548 3.84307 1.35018 3.11066 11.81940 sec.
5.2.16 3.73827 4.04298 1.90329 3.25423 12.93877 sec.
5.1.6 3.22345 4.98936 1.38187 3.44319 13.03786 sec.
5.1.5 2.79651 4.56305 1.72520 3.49206 12.57682 sec.
5.0.5 4.93131 5.51957 7.09677 10.82222 28.36988 sec.
5.0.4 3.60485 5.94132 7.10895 9.08389 25.73900 sec.
4.4.9 4.28933 5.53628 6.71767 9.95498 26.49827 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