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/29/2015

<<< Results of 07/20/2015

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.6.2 1.82590 1.39004 0.41567 0.64893 4.28053 sec.
5.5.18 1.37756 1.45409 0.45392 0.55865 3.84422 sec.
5.5.5 1.46030 1.76173 0.48413 0.59413 4.30029 sec.
5.5.0.a6 2.00042 1.66003 0.36376 0.50965 4.53385 sec.
5.5.0.a.5 1.49242 1.39942 0.46771 0.56427 3.92382 sec.
5.5.0.a.2 1.24515 1.59965 0.42380 0.60287 3.87148 sec.
5.4.34 1.41854 1.50172 0.43209 0.55508 3.90743 sec.
5.4.21 1.35292 1.48490 0.46952 0.53546 3.84280 sec.
5.4.13 1.33703 1.46727 0.37794 0.59804 3.78027 sec.
5.4.12 1.30149 1.50551 0.45069 0.61607 3.87377 sec.
5.4.11 1.34173 1.40810 0.38527 0.61068 3.74578 sec.
5.4.10 1.31858 1.31326 0.36284 0.65955 3.65423 sec.
5.4.9 1.19632 1.44776 0.42702 0.54499 3.61608 sec.
5.4.8 1.26640 1.40349 0.41741 0.57618 3.66348 sec.
5.4.7 1.31935 1.40244 0.56267 0.66347 3.94792 sec.
5.4.6 1.29951 1.44955 0.44763 0.55728 3.75397 sec.
5.4.5 1.34204 1.45485 0.40812 0.61300 3.81802 sec.
5.4.4 1.73249 1.44882 0.41733 0.61156 4.21020 sec.
5.4.3 2.33116 1.47063 0.38270 0.56149 4.74597 sec.
5.4.2 1.27138 1.33332 0.40014 0.54193 3.54677 sec.
5.4.1 1.33911 1.49391 0.49020 0.57011 3.89333 sec.
5.4.0 1.34999 1.43087 0.44995 0.65537 3.88619 sec.
5.3.29 1.23251 1.27427 0.56457 0.83548 3.90682 sec.
5.3.27 1.26322 1.31285 0.58332 0.91020 4.06959 sec.
5.3.23 1.30423 1.37106 0.55717 0.93560 4.16805 sec.
5.3.22 1.33750 1.32460 0.57760 0.92199 4.16168 sec.
5.3.21 1.27925 1.53085 0.59850 0.92708 4.33569 sec.
5.3.20 1.46539 1.74127 0.66435 1.07515 4.94616 sec.
5.3.19 1.30705 1.40896 0.65771 0.95999 4.33371 sec.
5.3.18 1.54697 1.66968 0.53807 0.84885 4.60357 sec.
5.3.17 1.35333 1.29720 0.61239 0.92730 4.19022 sec.
5.3.16 1.63098 1.81978 1.25231 1.28352 5.98660 sec.
5.3.15 2.20379 1.54292 0.62300 0.99750 5.36721 sec.
5.3.14 1.55767 1.57470 0.55289 0.92084 4.60611 sec.
5.3.13 1.44805 1.60812 0.51860 0.91369 4.48845 sec.
5.3.12 1.68802 1.80421 0.58719 0.98343 5.06285 sec.
5.3.11 1.50044 1.57858 0.53369 0.87202 4.48473 sec.
5.3.10 1.54722 1.62846 0.53458 0.94823 4.65848 sec.
5.3.3 1.45276 1.55298 0.63832 1.04023 4.68429 sec.
5.3.2 1.60606 1.52330 0.54518 0.93278 4.60732 sec.
5.3.1 1.54257 1.64027 0.57676 0.86370 4.62330 sec.
5.3.0 1.52224 1.86650 0.62431 0.95066 4.96371 sec.
5.2.17 1.90076 1.79281 0.91643 1.88698 6.49697 sec.
5.2.16 1.78086 2.62885 0.93418 2.08859 7.43246 sec.
5.1.6 1.43422 2.62363 1.12218 2.05425 7.23428 sec.
5.1.5 1.78656 2.61681 0.94730 2.11288 7.46355 sec.
5.0.5 2.62401 3.41251 3.80728 5.51185 15.35564 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