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

<<< Results of 02/23/2015

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.6.2 1.58607 1.74374 0.32277 0.42223 4.07481 sec.
5.5.18 0.87163 0.97085 0.31344 0.41644 2.57236 sec.
5.5.5 0.99949 1.14658 0.36470 0.51941 3.03017 sec.
5.5.0.a6 0.91965 1.14817 0.30987 0.41958 2.79727 sec.
5.5.0.a.5 0.89948 0.96523 0.30656 0.42117 2.59244 sec.
5.5.0.a.2 0.85312 0.93923 0.31195 0.48867 2.59297 sec.
5.4.34 0.89047 0.99172 0.31243 0.43681 2.63143 sec.
5.4.21 0.90193 1.02831 0.30663 0.41034 2.64721 sec.
5.4.13 0.87829 0.97488 0.30247 0.41535 2.57100 sec.
5.4.12 0.88940 0.95594 0.30061 0.43775 2.58370 sec.
5.4.11 0.92988 1.17090 0.30696 0.43901 2.84675 sec.
5.4.10 0.89820 1.00991 0.30869 0.43000 2.64681 sec.
5.4.9 0.91530 0.99665 0.31182 0.45081 2.67458 sec.
5.4.8 0.92974 0.99973 0.30851 0.44001 2.67799 sec.
5.4.7 0.92825 0.97491 0.30666 0.42747 2.63730 sec.
5.4.6 0.95421 0.99219 0.30173 0.51553 2.76367 sec.
5.4.5 0.86698 1.01271 0.29846 0.41588 2.59403 sec.
5.4.4 0.89708 0.97950 0.34159 0.50176 2.71992 sec.
5.4.3 0.87590 1.04035 0.29358 0.40919 2.61902 sec.
5.4.2 0.87194 1.00580 0.30405 0.43277 2.61457 sec.
5.4.1 0.89052 0.99083 0.30019 0.46574 2.64728 sec.
5.4.0 1.02937 1.36362 0.59506 0.47571 3.46376 sec.
5.3.29 1.00634 1.04929 0.44747 0.76191 3.26501 sec.
5.3.27 1.00568 1.03339 0.47112 0.78203 3.29222 sec.
5.3.23 1.01995 1.05268 0.44112 0.74966 3.26341 sec.
5.3.22 0.95303 1.07927 0.43596 0.77471 3.24297 sec.
5.3.21 1.01184 1.04144 0.43322 0.72336 3.20986 sec.
5.3.20 0.95062 1.06213 0.45733 0.73529 3.20536 sec.
5.3.19 0.99229 1.05500 0.45564 0.73948 3.24242 sec.
5.3.18 1.02310 1.04365 0.45934 0.70054 3.22663 sec.
5.3.17 0.93239 1.03545 0.45764 0.74709 3.17258 sec.
5.3.16 0.95450 1.09432 0.47190 0.76024 3.28096 sec.
5.3.15 1.08349 1.26008 0.49561 0.74638 3.58556 sec.
5.3.14 1.09050 1.20041 0.45035 0.73642 3.47768 sec.
5.3.13 1.21757 1.22466 0.45435 0.74620 3.64278 sec.
5.3.12 1.08667 1.16921 0.45437 0.75389 3.46413 sec.
5.3.11 1.13345 1.27189 0.46267 0.75149 3.61950 sec.
5.3.10 1.09701 1.14979 0.43062 0.74139 3.41881 sec.
5.3.3 1.08894 1.15138 0.44839 1.11505 3.80375 sec.
5.3.2 1.47466 1.15180 0.45303 0.73298 3.81247 sec.
5.3.1 1.14550 1.15905 0.46941 0.78782 3.56178 sec.
5.3.0 1.22209 1.18667 0.44632 0.72243 3.57751 sec.
5.2.17 1.19410 1.23930 0.67931 1.45265 4.56536 sec.
5.2.16 1.20589 1.22965 0.66732 1.35401 4.45687 sec.
5.1.6 1.26852 1.55120 0.60868 1.31377 4.74217 sec.
5.1.5 1.14500 1.89368 0.63302 1.40010 5.07180 sec.
5.0.5 1.86889 2.17265 2.98973 4.13657 11.16784 sec.
5.0.4 1.49580 2.09889 3.02494 4.04665 10.66628 sec.
4.4.9 1.65523 2.11918 3.23955 4.04595 11.05990 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