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 05/24/2015

<<< Results of 05/11/2015

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.6.2 0.94248 0.92372 0.31928 0.42741 2.61290 sec.
5.5.18 0.87973 0.92918 0.30384 0.39544 2.50819 sec.
5.5.5 0.87497 0.94301 0.32877 0.42483 2.57158 sec.
5.5.0.a6 0.83821 0.91085 0.28881 0.39309 2.43096 sec.
5.5.0.a.5 0.83795 0.91850 0.29428 0.38982 2.44054 sec.
5.5.0.a.2 0.80679 0.92194 0.29524 0.39708 2.42105 sec.
5.4.34 0.85398 0.98556 0.30841 0.42244 2.57039 sec.
5.4.21 0.86995 0.95922 0.29743 0.39189 2.51849 sec.
5.4.13 0.85315 0.94017 0.29022 0.40057 2.48411 sec.
5.4.12 0.86029 0.93198 0.29121 0.40027 2.48375 sec.
5.4.11 0.83875 0.93012 0.29274 0.43177 2.49338 sec.
5.4.10 0.84401 0.95366 0.29266 0.43640 2.52673 sec.
5.4.9 0.85495 0.95506 0.29083 0.40964 2.51048 sec.
5.4.8 0.85613 0.95546 0.30127 0.42324 2.53610 sec.
5.4.7 0.84507 0.97859 0.30022 0.42003 2.54390 sec.
5.4.6 0.87391 0.94939 0.30278 0.42297 2.54906 sec.
5.4.5 0.85454 0.99310 0.28569 0.39374 2.52708 sec.
5.4.4 0.86567 0.95779 0.32848 0.39930 2.55124 sec.
5.4.3 0.85548 0.92623 0.35946 0.71370 2.85488 sec.
5.4.2 0.98229 0.95520 0.29506 0.40019 2.63275 sec.
5.4.1 0.86446 0.94266 0.29302 0.39552 2.49567 sec.
5.4.0 0.85675 0.94285 0.34129 0.45451 2.59542 sec.
5.3.29 0.94448 1.00588 0.43033 0.73293 3.11362 sec.
5.3.27 0.92523 1.01239 0.44137 0.74335 3.12234 sec.
5.3.23 0.92537 1.00309 0.43416 0.73272 3.09534 sec.
5.3.22 0.94507 1.07084 0.44203 0.74912 3.20707 sec.
5.3.21 0.94147 1.02214 0.42224 0.72573 3.11159 sec.
5.3.20 0.94607 1.02177 0.44096 0.72129 3.13009 sec.
5.3.19 0.94106 1.03253 0.44299 0.72125 3.13783 sec.
5.3.18 1.00238 1.00698 0.46348 0.66734 3.14019 sec.
5.3.17 0.92952 1.04657 0.43441 0.72850 3.13900 sec.
5.3.16 0.94370 0.99191 0.44518 0.73013 3.11091 sec.
5.3.15 0.91819 1.00367 0.42839 0.73684 3.08709 sec.
5.3.14 1.06235 1.14133 0.43848 0.72852 3.37068 sec.
5.3.13 1.07182 1.19509 0.42985 0.72748 3.42424 sec.
5.3.12 1.06076 1.15429 0.46507 0.72141 3.40153 sec.
5.3.11 1.09588 1.13421 0.44015 0.73680 3.40705 sec.
5.3.10 1.06716 1.39218 0.67771 0.71399 3.85104 sec.
5.3.3 1.06126 1.11729 0.41925 0.80006 3.39786 sec.
5.3.2 1.08632 1.11830 0.43360 0.72265 3.36087 sec.
5.3.1 1.09416 1.11727 0.43040 0.73186 3.37369 sec.
5.3.0 1.15196 1.12607 0.44454 0.72545 3.44801 sec.
5.2.17 1.17167 1.20402 0.62594 1.34670 4.34833 sec.
5.2.16 1.14116 1.20542 0.63264 1.28177 4.26099 sec.
5.1.6 1.03367 1.48689 0.60260 1.27251 4.39568 sec.
5.1.5 1.04032 1.47073 0.60886 1.33746 4.45738 sec.
5.0.5 1.68354 2.06855 2.75138 3.92213 10.42560 sec.
5.0.4 1.42735 1.92599 2.78543 3.83884 9.97761 sec.
4.4.9 1.61062 1.97041 3.16473 3.62882 10.37458 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