🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
``` 命令# ab -c 100 -n 10000 http://192.168.10.222:9501/index/sign -n在测试会话中所执行的请求个数。默认时,仅执行一个请求。 -c一次产生的请求个数。默认是一次一个。 -t测试所进行的最大秒数。其内部隐含值是-n 50000,它可以使对服务器的测试限制在一个固定的总时间以内。默认时,没有时间限制。 This is ApacheBench, Version 2.3 <$Revision: 1430300 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 192.168.10.222 (be patient) Completed 1000 requests Completed 2000 requests Completed 3000 requests Completed 4000 requests Completed 5000 requests Completed 6000 requests Completed 7000 requests Completed 8000 requests Completed 9000 requests Completed 10000 requests Finished 10000 requests Server Software: EasySwoole Server Hostname: 192.168.10.222 Server Port: 9501 Document Path: /index/sign Document Length: 0 bytes Concurrency Level: 100 Time taken for tests: 11.904 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 4580000 bytes HTML transferred: 0 bytes Requests per second: 840.06 [#/sec] (mean) Time per request: 119.040 [ms] (mean) Time per request: 1.190 [ms] (mean, across all concurrent requests) Transfer rate: 375.73 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 1.3 0 48 Processing: 1 118 115.6 142 713 Waiting: 1 118 115.5 142 713 Total: 1 118 115.7 142 713 Percentage of the requests served within a certain time (ms) 50% 142 66% 161 75% 179 80% 194 90% 282 95% 324 98% 387 99% 455 100% 713 (longest request)