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 04/24/2014

<<< Results of 04/14/2014

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.5.5 6.15354 2.28682 0.56669 0.86404 9.87109 sec.
5.5.0.a6 1.68282 2.62058 0.37642 0.83393 5.51375 sec.
5.5.0.a.5 1.62362 2.35681 0.52750 0.79997 5.30790 sec.
5.5.0.a.2 1.85479 2.15596 0.42810 0.68130 5.12014 sec.
5.4.21 1.56386 1.80741 0.42431 0.75491 4.55049 sec.
5.4.13 1.31572 1.42801 0.41354 0.67020 3.82747 sec.
5.4.12 1.23663 1.59243 0.38483 0.67428 3.88817 sec.
5.4.11 1.19338 1.49378 0.40541 0.67737 3.76994 sec.
5.4.10 1.34583 1.59016 0.38668 0.67175 3.99442 sec.
5.4.9 1.24202 1.65271 0.60918 0.76765 4.27157 sec.
5.4.8 1.71159 1.58639 0.43091 0.69195 4.42084 sec.
5.4.7 1.26858 1.42527 0.37534 0.67290 3.74210 sec.
5.4.6 1.30254 1.40782 0.44954 0.73406 3.89395 sec.
5.4.5 1.24936 1.37371 0.43522 0.65863 3.71692 sec.
5.4.4 1.32627 1.45732 0.37719 0.68783 3.84861 sec.
5.4.3 1.33444 1.49678 0.37997 0.73427 3.94546 sec.
5.4.2 1.29520 1.85060 0.36864 0.68346 4.19790 sec.
5.4.1 1.38836 1.64050 0.38582 0.71031 4.12499 sec.
5.4.0 1.42126 1.71966 0.41863 0.73926 4.29882 sec.
5.3.27 1.46286 1.80171 0.50465 0.88428 4.65351 sec.
5.3.23 1.38706 1.57489 0.49259 0.89540 4.34994 sec.
5.3.22 1.70330 1.91230 0.57622 1.00572 5.19753 sec.
5.3.21 1.45879 1.91703 0.52987 0.98590 4.89160 sec.
5.3.20 1.76478 2.27262 0.66466 1.02612 5.72818 sec.
5.3.19 1.63589 2.14742 0.61629 1.00676 5.40636 sec.
5.3.18 2.02092 1.55772 0.54232 0.84415 4.96511 sec.
5.3.17 1.28304 1.49966 0.51812 1.03658 4.33741 sec.
5.3.16 1.33853 1.78208 0.51226 0.95300 4.58587 sec.
5.3.15 1.53894 1.60068 0.56333 0.90519 4.60814 sec.
5.3.14 1.51935 1.92547 0.57489 0.91145 4.93116 sec.
5.3.13 1.86506 1.92981 0.54156 0.92395 5.26038 sec.
5.3.12 1.56108 1.68378 0.51303 1.03798 4.79587 sec.
5.3.11 1.72706 1.68539 0.51302 1.03067 4.95614 sec.
5.3.10 1.65168 1.81525 0.51394 0.93144 4.91231 sec.
5.3.3 1.63793 1.81189 0.51941 0.89112 4.86034 sec.
5.3.2 1.91375 1.84477 0.66209 0.86095 5.28155 sec.
5.3.1 1.48238 1.53623 0.50827 0.94089 4.46777 sec.
5.3.0 0.36955 0.00000 0.00000 0.00000 0.36955 sec.
5.2.17 1.74371 2.07719 0.85699 1.90191 6.57980 sec.
5.2.16 1.58695 1.76199 0.85737 1.96466 6.17096 sec.
5.1.6 1.50711 2.35249 0.86144 0.42365 5.14470 sec.
5.1.5 1.67097 2.37905 0.86525 1.89700 6.81227 sec.
5.0.5 2.33404 2.99291 3.96834 5.59187 14.88716 sec.
5.0.4 2.24124 2.70513 3.91868 5.22163 14.08668 sec.
4.4.9 2.45670 2.97053 3.91765 4.88302 14.22791 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