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 03/27/2015

<<< Results of 03/16/2015

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.6.2 2.46004 1.02475 0.32456 0.51368 4.32303 sec.
5.5.18 0.93578 1.07149 0.39779 0.54691 2.95198 sec.
5.5.5 1.11953 1.14015 0.35943 0.48593 3.10503 sec.
5.5.0.a6 1.16473 1.11167 0.34686 0.50458 3.12784 sec.
5.5.0.a.5 1.18510 1.11905 0.36075 0.53913 3.20404 sec.
5.5.0.a.2 1.16691 1.13858 0.34208 0.42346 3.07103 sec.
5.4.34 1.10657 1.06084 0.37116 0.51043 3.04900 sec.
5.4.21 1.04197 1.14083 0.31668 0.46966 2.96913 sec.
5.4.13 1.02450 1.19730 0.39715 0.45462 3.07357 sec.
5.4.12 1.01692 1.06586 0.31754 0.52225 2.92257 sec.
5.4.11 0.93252 1.07263 0.31478 0.51904 2.83897 sec.
5.4.10 0.91606 1.08911 0.30868 0.47658 2.79043 sec.
5.4.9 0.94290 1.01497 0.31421 0.45007 2.72215 sec.
5.4.8 0.89349 1.03557 0.32070 0.45358 2.70335 sec.
5.4.7 1.04377 1.10569 0.31481 0.43763 2.90191 sec.
5.4.6 0.97026 1.05964 0.34447 0.43725 2.81161 sec.
5.4.5 0.91342 1.06107 0.30491 0.42970 2.70910 sec.
5.4.4 0.93429 1.03204 0.35356 0.42245 2.74234 sec.
5.4.3 0.92655 1.01783 0.30247 0.43754 2.68440 sec.
5.4.2 0.91713 1.10375 0.55552 0.75171 3.32811 sec.
5.4.1 0.93401 1.06679 0.31665 0.41982 2.73727 sec.
5.4.0 0.97805 1.00998 0.36625 0.48766 2.84194 sec.
5.3.29 1.03047 1.08259 0.45641 0.77286 3.34233 sec.
5.3.27 1.04277 1.12550 0.49255 0.79279 3.45362 sec.
5.3.23 1.04164 1.20874 0.45447 0.79912 3.50397 sec.
5.3.22 0.97577 1.10243 0.44688 0.77547 3.30055 sec.
5.3.21 1.05074 1.30762 0.44900 0.88098 3.68833 sec.
5.3.20 0.98369 1.10016 0.45221 0.95881 3.49488 sec.
5.3.19 1.15871 1.14644 0.49190 0.83717 3.63422 sec.
5.3.18 1.03902 1.22466 0.47089 0.82163 3.55620 sec.
5.3.17 1.23370 1.06122 0.48028 0.77032 3.54552 sec.
5.3.16 1.03747 1.12990 0.49964 0.80439 3.47140 sec.
5.3.15 1.08303 1.23386 0.45517 0.79786 3.56991 sec.
5.3.14 1.20916 1.23010 0.61058 0.90030 3.95014 sec.
5.3.13 1.18980 1.28471 0.46980 0.81476 3.75907 sec.
5.3.12 1.29650 1.56814 0.55043 0.98360 4.39868 sec.
5.3.11 2.00001 1.31056 0.45131 0.75794 4.51982 sec.
5.3.10 1.12968 1.24921 0.47578 0.78997 3.64463 sec.
5.3.3 1.14392 1.32116 0.46663 0.83699 3.76869 sec.
5.3.2 1.12087 1.18196 0.45951 0.77334 3.53569 sec.
5.3.1 1.29839 1.21808 0.45199 0.74628 3.71474 sec.
5.3.0 1.25060 1.23613 0.45487 0.75468 3.69629 sec.
5.2.17 1.21215 1.30960 0.63194 1.42004 4.57373 sec.
5.2.16 1.22270 1.23321 0.69891 1.47336 4.62817 sec.
5.1.6 1.19788 1.71246 0.64626 1.33393 4.89053 sec.
5.1.5 1.07523 0.00000 0.00000 0.00000 1.07523 sec.
5.0.5 1.84197 2.27808 3.29970 4.20368 11.62342 sec.
5.0.4 1.57132 1.97750 3.17625 4.79024 11.51531 sec.
4.4.9 1.69398 2.13165 2.89878 3.63694 10.36135 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