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/21/2014

<<< Results of 04/14/2014

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.5.5 2.63965 1.68844 0.44588 0.91734 5.69131 sec.
5.5.0.a6 1.42609 1.46346 0.42624 0.71179 4.02758 sec.
5.5.0.a.5 1.34507 1.48857 0.40840 0.67728 3.91932 sec.
5.5.0.a.2 1.27449 1.37160 0.37173 0.68584 3.70365 sec.
5.4.21 1.43635 1.78393 0.38863 0.66564 4.27455 sec.
5.4.13 1.18743 1.33964 0.36469 0.66922 3.56099 sec.
5.4.12 1.30848 1.46154 0.39114 0.70556 3.86672 sec.
5.4.11 1.39835 1.64046 0.43549 0.93518 4.40949 sec.
5.4.10 1.40065 1.29362 0.38962 0.70808 3.79198 sec.
5.4.9 1.22206 1.47695 0.60817 0.74407 4.05125 sec.
5.4.8 1.36691 1.59240 0.43438 0.70437 4.09806 sec.
5.4.7 1.26207 1.61389 0.39409 0.69558 3.96564 sec.
5.4.6 1.21766 1.30107 0.39419 0.73630 3.64922 sec.
5.4.5 1.16388 1.40224 0.39154 0.68534 3.64301 sec.
5.4.4 1.18836 1.28918 0.37049 0.67434 3.52237 sec.
5.4.3 1.27020 1.30936 0.36438 0.65866 3.60260 sec.
5.4.2 1.42078 1.38248 0.37413 0.66093 3.83832 sec.
5.4.1 1.21236 1.34165 0.37525 0.68037 3.60962 sec.
5.4.0 1.23148 1.29890 0.35995 0.66553 3.55586 sec.
5.3.27 1.32184 1.47104 0.50429 0.86930 4.16647 sec.
5.3.23 1.35567 1.46553 0.52733 0.96105 4.30959 sec.
5.3.22 1.31715 1.44308 0.53446 0.87660 4.17128 sec.
5.3.21 1.22578 1.39902 0.50748 0.95562 4.08790 sec.
5.3.20 1.32439 1.42409 0.53911 0.90754 4.19513 sec.
5.3.19 1.40238 1.45897 0.50537 0.95974 4.32646 sec.
5.3.18 1.35886 1.46512 0.52766 0.89245 4.24408 sec.
5.3.17 1.64576 1.49808 0.53246 0.97180 4.64811 sec.
5.3.16 1.28734 1.34851 0.51452 0.95425 4.10463 sec.
5.3.15 1.26924 1.34329 0.50616 0.86302 3.98171 sec.
5.3.14 1.42343 1.50643 0.50795 0.87404 4.31185 sec.
5.3.13 1.54006 1.64760 0.51812 0.88384 4.58962 sec.
5.3.12 1.57953 1.53219 0.49144 0.86498 4.46814 sec.
5.3.11 1.50031 1.54027 0.48758 0.86101 4.38917 sec.
5.3.10 1.44377 1.52080 0.49442 0.85084 4.30983 sec.
5.3.3 1.36674 1.52737 0.53418 0.84945 4.27774 sec.
5.3.2 1.63259 1.55648 0.50642 0.86561 4.56110 sec.
5.3.1 1.40965 1.50670 0.51449 0.89111 4.32196 sec.
5.3.0 1.51192 1.63860 0.49782 0.88151 4.52984 sec.
5.2.17 1.63163 1.83580 0.89362 1.87593 6.23698 sec.
5.2.16 1.51973 1.66568 0.84534 1.90849 5.93925 sec.
5.1.6 1.39843 2.03580 0.81048 1.91076 6.15547 sec.
5.1.5 1.41187 2.01319 0.81069 1.86478 6.10052 sec.
5.0.5 2.24165 2.86403 3.78499 5.23296 14.12363 sec.
5.0.4 1.88858 2.57770 3.74330 5.05558 13.26516 sec.
4.4.9 2.11252 2.77580 3.67602 4.68424 13.24858 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