PHP Batch Test Result on LEMP

It is the test based on the LEMP, or Linux, Nginx, MySQL and PHP, on Centos 6.4 64bit at Burst.net 1GB VPS.

Details about the testing bed:

  • Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1 cores, 1GB RAM
  • CentOS Linux 6.4
  • Linux 2.6.18-348.4.1.el5.028stab107.2 on x86_64
  • PHP Version 5.4.21 fpm-fcgi
  • Nginx 1.0.15
  • MySQL server 5.5.34

I ran the test three times.

————————————–
| PHP BENCHMARK SCRIPT |
————————————–
Start : 2013-10-23 00:00:24
Server : 184.82.106.94@184.82.106.94
PHP version : 5.4.21
Platform : Linux
————————————–
test_math : 1.660 sec.
test_stringmanipulation : 1.983 sec.
test_loops : 1.031 sec.
test_ifelse : 0.837 sec.
————————————–
Total time: : 5.511 sec.

--------------------------------------
|        PHP BENCHMARK SCRIPT        |
--------------------------------------
Start : 2013-10-23 05:51:54
Server : 184.82.106.94@184.82.106.94
PHP version : 5.4.21
Platform : Linux
--------------------------------------
test_math                 : 1.945 sec.
test_stringmanipulation   : 1.949 sec.
test_loops                : 1.047 sec.
test_ifelse               : 1.225 sec.
--------------------------------------
Total time:               : 6.166 sec.

 

--------------------------------------
|        PHP BENCHMARK SCRIPT        |
--------------------------------------
Start : 2013-10-23 05:52:08
Server : 184.82.106.94@184.82.106.94
PHP version : 5.4.21
Platform : Linux
--------------------------------------
test_math                 : 1.509 sec.
test_stringmanipulation   : 1.863 sec.
test_loops                : 0.987 sec.
test_ifelse               : 0.835 sec.
--------------------------------------
Total time:               : 5.194 sec.

The speed is great.