机器配置
$ cat /proc/cpuinfo
$ cat /proc/version Linux version 2.6.32-431.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Fri Nov 22 03:15:09 UTC 2013
安装
$ yum install httpd-tools
测试系统:运营系统
测试接口
$ ab -n 1000 -c 20 'http://xxx/path/to/url'
PHP7结果:
PHP5.6结果: