php 和thinkphp ab,对 Laravel 5.5 和 ThinkPHP 5.0.20 进行了 ab 压力测试

是不是我配置有问题?

Laravel 5.5 输出 echo ‘hello world’

f15016bfbfbf46d0c1ceff44612839ea.png

Server Software: nginx/1.11.5

Server Hostname: laravel55.a.cc

Server Port: 80

Document Path: /

Document Length: 11 bytes

Concurrency Level: 10

Time taken for tests: 36.029 seconds

Complete requests: 100

Failed requests: 0

Total transferred: 101442 bytes

HTML transferred: 1100 bytes

Requests per second: 2.78 [#/sec] (mean)

Time per request: 3602.922 [ms] (mean)

Time per request: 360.292 [ms] (mean, across all concurrent requests)

Transfer rate: 2.75 [Kbytes/sec] received

Connection Times (ms)

min mean[+/-sd] median max

Connect: 0 0 0.4 0 1

Processing: 348 3458 724.6 3592 4386

Waiting: 348 3457 724.6 3592 4386

Total: 349 3458 724.6 3592 4386

ThinkPHP 5.0.20 输出 echo ‘hello world’

b7e35c393afdfe839f504bb475713615.png

Server Software: nginx/1.11.5

Server Hostname: thinkphp50.a.cc

Server Port: 80

Document Path: /

Document Length: 11 bytes

Concurrency Level: 10

Time taken for tests: 4.198 seconds

Complete requests: 100

Failed requests: 9

(Connect: 0, Receive: 0, Length: 9, Exceptions: 0)

Non-2xx responses: 9

Total transferred: 20852 bytes

HTML transferred: 2558 bytes

Requests per second: 23.82 [#/sec] (mean)

Time per request: 419.839 [ms] (mean)

Time per request: 41.984 [ms] (mean, across all concurrent requests)

Transfer rate: 4.85 [Kbytes/sec] received

Connection Times (ms)

min mean[+/-sd] median max

Connect: 0 0 0.5 0 1

Processing: 64 401 123.5 401 604

Waiting: 64 401 123.6 401 604

Total: 64 402 123.5 402 604

电脑配置

1944b3c9415f4d282bf0cad7c8fd0c0b.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值