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

<<< Results of 04/13/2015

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.6.2 1.99351 0.97807 0.33795 0.42363 3.73315 sec.
5.5.18 0.84167 0.93734 0.29726 0.38796 2.46423 sec.
5.5.5 0.97600 0.98295 0.33788 0.42311 2.71994 sec.
5.5.0.a6 0.84112 0.91418 0.29298 0.39338 2.44165 sec.
5.5.0.a.5 0.84491 0.92305 0.30119 0.38947 2.45863 sec.
5.5.0.a.2 0.83039 0.92451 0.30950 0.40231 2.46671 sec.
5.4.34 0.86438 0.93334 0.31189 0.44062 2.55024 sec.
5.4.21 0.89840 0.95416 0.29950 0.41224 2.56431 sec.
5.4.13 0.85311 0.95859 0.29200 0.40516 2.50886 sec.
5.4.12 0.95805 0.94657 0.29593 0.46352 2.66407 sec.
5.4.11 0.89089 1.18357 0.29824 0.44181 2.81451 sec.
5.4.10 0.89169 1.10733 0.29568 0.42414 2.71884 sec.
5.4.9 0.86317 0.96819 0.30176 0.43116 2.56428 sec.
5.4.8 0.87325 0.96137 0.38518 0.44408 2.66387 sec.
5.4.7 0.86215 1.00296 0.29308 0.42283 2.58102 sec.
5.4.6 0.87405 0.98777 0.29333 0.42230 2.57745 sec.
5.4.5 0.85793 0.99017 0.30072 0.41517 2.56398 sec.
5.4.4 0.87278 0.97547 0.34191 0.41504 2.60520 sec.
5.4.3 0.89442 0.93793 0.30038 0.41499 2.54772 sec.
5.4.2 0.85817 1.01897 0.31386 0.42083 2.61184 sec.
5.4.1 0.90439 1.07606 0.30590 0.41237 2.69871 sec.
5.4.0 1.13267 0.97744 0.40126 0.69816 3.20953 sec.
5.3.29 1.29956 1.04270 0.44967 0.79405 3.58598 sec.
5.3.27 0.96495 1.05634 0.47413 0.75312 3.24854 sec.
5.3.23 1.01865 1.00951 0.43588 0.75473 3.21877 sec.
5.3.22 0.92263 1.00011 0.42749 0.79914 3.14936 sec.
5.3.21 0.94742 1.02668 0.42817 0.70928 3.11155 sec.
5.3.20 0.95052 1.01596 0.43267 0.72252 3.12167 sec.
5.3.19 0.93671 1.04784 0.45876 0.73318 3.17648 sec.
5.3.18 1.06531 1.00908 0.44933 0.68248 3.20621 sec.
5.3.17 0.93126 0.99643 0.44192 0.74214 3.11175 sec.
5.3.16 1.08903 1.01600 0.44800 0.73592 3.28895 sec.
5.3.15 0.93331 1.00916 0.43091 0.74408 3.11746 sec.
5.3.14 1.08449 1.18131 0.44179 0.73728 3.44487 sec.
5.3.13 1.07850 1.13381 0.44899 0.72905 3.39035 sec.
5.3.12 1.07264 1.15912 0.43071 0.75581 3.41828 sec.
5.3.11 1.10147 1.14443 0.43630 0.72229 3.40449 sec.
5.3.10 1.07148 1.11431 0.42847 0.72756 3.34182 sec.
5.3.3 1.11131 1.12517 0.43648 0.80488 3.47784 sec.
5.3.2 1.11204 1.15261 0.82484 1.01013 4.09963 sec.
5.3.1 1.16137 1.14387 0.43576 0.72283 3.46383 sec.
5.3.0 1.11514 1.13826 0.44328 0.76555 3.46224 sec.
5.2.17 1.20236 1.21567 0.60994 1.42871 4.45668 sec.
5.2.16 1.20998 1.28021 0.67047 1.38339 4.54406 sec.
5.1.6 1.08365 1.58664 0.60895 1.52861 4.80785 sec.
5.1.5 1.18609 1.50383 0.65383 1.37698 4.72073 sec.
5.0.5 1.75513 2.16609 2.84749 4.16849 10.93720 sec.
5.0.4 1.47294 1.93186 2.85961 3.82100 10.08541 sec.
4.4.9 1.60323 2.13813 2.77910 3.79815 10.31861 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