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 12/20/2014

<<< Results of 12/08/2014

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.6.2 1.05468 1.88167 0.39312 0.41766 3.74713 sec.
5.5.18 0.91046 1.05821 0.31319 0.41707 2.69892 sec.
5.5.5 0.89494 0.97929 0.33213 0.43810 2.64446 sec.
5.5.0.a6 0.86224 1.04283 0.37525 0.39914 2.67947 sec.
5.5.0.a.5 0.85124 1.06211 0.41592 0.40473 2.73400 sec.
5.5.0.a.2 0.83880 0.91342 0.30253 0.40767 2.46242 sec.
5.4.34 0.85872 0.93112 0.30542 0.41159 2.50685 sec.
5.4.21 0.91129 0.98494 0.37891 0.53167 2.80681 sec.
5.4.13 1.10751 0.96596 0.43745 0.60679 3.11772 sec.
5.4.12 0.87877 1.15388 0.30126 0.42680 2.76071 sec.
5.4.11 1.42155 0.94151 0.29893 0.44243 3.10443 sec.
5.4.10 0.90909 1.03566 0.29464 0.41113 2.65052 sec.
5.4.9 1.02415 1.64009 0.34105 0.42355 3.42884 sec.
5.4.8 0.92818 1.00997 0.31080 0.43765 2.68660 sec.
5.4.7 0.95451 0.99455 0.32667 0.42758 2.70331 sec.
5.4.6 0.90843 1.04635 0.30636 0.42646 2.68760 sec.
5.4.5 1.41670 1.01626 0.30926 0.41339 3.15561 sec.
5.4.4 0.87075 1.02031 0.34695 0.42075 2.65876 sec.
5.4.3 0.95537 0.99883 0.32705 0.48108 2.76233 sec.
5.4.2 0.86492 0.96093 0.30661 0.42114 2.55359 sec.
5.4.1 1.06926 2.43599 0.56646 0.43648 4.50819 sec.
5.4.0 0.84771 0.94098 0.38914 0.50143 2.67926 sec.
5.3.29 1.07560 1.52949 0.43806 0.75061 3.79376 sec.
5.3.27 0.98363 1.04216 0.44414 0.74894 3.21886 sec.
5.3.23 0.96279 1.11725 0.43696 0.86844 3.38544 sec.
5.3.22 1.04243 1.14423 0.43463 0.82365 3.44493 sec.
5.3.21 0.95079 1.01733 0.43533 0.72245 3.12591 sec.
5.3.20 0.94200 1.03432 0.43718 0.74483 3.15832 sec.
5.3.19 0.95682 1.09016 0.43554 0.73562 3.21814 sec.
5.3.18 0.96184 1.02324 0.47957 0.68006 3.14472 sec.
5.3.17 0.93423 1.02601 0.45893 0.76430 3.18348 sec.
5.3.16 0.93330 1.20044 0.46932 0.75376 3.35682 sec.
5.3.15 1.00782 1.71829 0.64441 1.07356 4.44408 sec.
5.3.14 1.20689 1.15347 0.54349 0.72314 3.62699 sec.
5.3.13 1.10382 1.14845 0.43330 0.72400 3.40958 sec.
5.3.12 1.06533 1.21934 0.46971 0.78893 3.54331 sec.
5.3.11 1.08533 1.15868 0.44315 0.74259 3.42975 sec.
5.3.10 1.13567 1.37896 0.61856 1.24156 4.37475 sec.
5.3.3 1.09063 1.32708 0.43560 0.83516 3.68846 sec.
5.3.2 1.11684 1.17507 0.36784 0.00000 2.65974 sec.
5.3.1 1.12600 1.91685 0.54051 0.72703 4.31040 sec.
5.3.0 1.09519 1.14695 0.43517 0.71732 3.39464 sec.
5.2.17 1.18462 1.22410 0.62051 2.46831 5.49755 sec.
5.2.16 1.19941 1.28287 0.87988 1.09651 4.45868 sec.
5.1.6 1.15634 1.52198 0.61358 1.27477 4.56668 sec.
5.1.5 1.09422 2.09617 0.67030 1.40891 5.26959 sec.
5.0.5 1.82457 2.28684 2.87416 4.41135 11.39692 sec.
5.0.4 1.47020 2.81188 3.14175 3.88017 11.30399 sec.
4.4.9 2.34338 2.45330 2.73202 3.69179 11.22049 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.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