Site icon David Yin's Blog

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:

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.

Exit mobile version