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

<<< Results of 01/12/2015

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
5.6.2 1.66325 1.74421 0.30154 0.39597 4.10497 sec.
5.5.18 1.15064 0.98474 0.30862 0.43927 2.88326 sec.
5.5.5 0.93264 1.06829 0.33627 0.43496 2.77216 sec.
5.5.0.a6 0.88479 1.16080 0.30061 0.42277 2.76897 sec.
5.5.0.a.5 1.13848 0.98846 0.30222 0.40756 2.83672 sec.
5.5.0.a.2 0.84591 0.92409 0.34340 0.40394 2.51734 sec.
5.4.34 0.90380 1.01570 0.31183 0.44600 2.67733 sec.
5.4.21 1.02095 0.98925 0.31271 0.45281 2.77572 sec.
5.4.13 0.95135 0.99597 0.30560 0.41142 2.66434 sec.
5.4.12 0.96832 0.98086 0.30439 0.41530 2.66887 sec.
5.4.11 0.95315 0.99093 0.30640 0.44281 2.69330 sec.
5.4.10 0.93558 1.01112 0.29673 0.41596 2.65940 sec.
5.4.9 0.88686 1.15129 0.34786 0.43234 2.81835 sec.
5.4.8 0.88650 0.98188 0.31644 0.44068 2.62549 sec.
5.4.7 0.87934 1.26741 0.42066 0.46051 3.02792 sec.
5.4.6 0.96437 1.02451 0.31815 0.42159 2.72862 sec.
5.4.5 1.16223 1.00802 0.30188 0.43870 2.91083 sec.
5.4.4 0.92187 0.97926 0.38473 0.43344 2.71930 sec.
5.4.3 1.09685 0.99965 0.30738 0.51154 2.91543 sec.
5.4.2 0.86272 1.01306 0.30036 0.41221 2.58834 sec.
5.4.1 0.97298 0.98095 0.32054 0.42304 2.69752 sec.
5.4.0 1.48894 1.00493 0.39084 0.48342 3.36812 sec.
5.3.29 0.99803 1.02487 0.45490 0.82059 3.29838 sec.
5.3.27 1.01551 1.04225 0.45712 0.74989 3.26476 sec.
5.3.23 1.03340 1.07247 0.44181 0.78089 3.32857 sec.
5.3.22 0.95084 1.24300 0.43580 0.85346 3.48309 sec.
5.3.21 0.95896 1.04688 0.43779 0.72517 3.16880 sec.
5.3.20 0.99301 1.07568 0.48004 0.76497 3.31370 sec.
5.3.19 1.04450 1.09338 0.45830 0.76503 3.36121 sec.
5.3.18 0.96860 1.16178 0.47965 0.70488 3.31491 sec.
5.3.17 1.12696 1.09940 0.51927 0.83393 3.57956 sec.
5.3.16 0.98840 1.02847 0.45344 0.83781 3.30812 sec.
5.3.15 1.07602 1.09384 0.45763 0.77413 3.40161 sec.
5.3.14 1.13512 1.17800 0.45526 0.86182 3.63021 sec.
5.3.13 1.11625 1.17894 0.44501 0.73692 3.47711 sec.
5.3.12 1.13078 1.18048 0.44830 0.74732 3.50688 sec.
5.3.11 1.11523 1.21908 0.44070 0.75066 3.52567 sec.
5.3.10 1.08588 1.21264 0.43587 0.73500 3.46939 sec.
5.3.3 1.71355 1.18519 0.45401 0.86582 4.21857 sec.
5.3.2 1.11353 1.17339 0.45054 0.74059 3.47804 sec.
5.3.1 1.14175 1.16836 0.44336 0.74101 3.49448 sec.
5.3.0 1.12164 1.34508 0.44012 0.73465 3.64149 sec.
5.2.17 1.19973 1.25217 0.62332 1.40995 4.48518 sec.
5.2.16 1.20046 1.27766 0.66041 1.42381 4.56233 sec.
5.1.6 1.12720 1.54676 0.64614 1.34885 4.66895 sec.
5.1.5 1.08962 1.71575 0.63991 1.41850 4.86379 sec.
5.0.5 1.74383 2.18431 2.88094 4.15500 10.96408 sec.
5.0.4 1.52828 2.19552 2.85431 3.89313 10.47124 sec.
4.4.9 1.60654 2.07749 3.37077 3.68434 10.73915 sec.
 

<
 


 


Comments


No comments yet!


Post a comment


Your name:


Your email address:


Your website: (not required)


Comment:




Code above:


 
 
 
      © 2015 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