D:>ab -c 100 -n 1000 http://localhost/wenda/index.php
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: Apache/2.2.21
Server Hostname: localhost
Server Port: 80
Document Path: /wenda/index.php
Document Length: 600 bytes
Concurrency Level: 100
Time taken for tests: 105.440 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 1040000 bytes
HTML transferred: 600000 bytes
Requests per second: 9.48 [#/sec] (mean)
Time per request: 10543.977 [ms] (mean)
Time per request: 105.440 [ms] (mean, across all concurrent requests)
Transfer rate: 9.63 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 2.4 0 47
Processing: 3491 10390 3747.9 9533 22426
Waiting: 3491 10389 3747.4 9533 22426
Total: 3491 10390 3747.8 9533 22426
Percentage of the requests served within a certain time (ms)
50% 9533
66% 10097
75% 10567
80% 11052
90% 15084
95% 22035
98% 22129
99% 22207
100% 22426 (longest request)
每秒钟才不到10个请求,这这这,太低了
######documentroot是在U盘上的.不知是不是这原因,还是用ZendFramework的问题######最近有个习惯,老是看其他站点的server是啥...######每个程序里sleep了个几十毫秒吧。。确实,就算代码中含有很复杂的逻辑运算,很大量的数据库操作,每秒不到10个请求也确实太低了######U盘杀手?
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。