html5用于性能测试的api,接口性能测试报告

echo "===n-20000,c-600===="

Server Software:        openresty/1.11.2.5

Server Hostname:        xxx.xxx.xxx.xxx

Server Port:            8080

Document Path:          /auth

Document Length:        75 bytes

Concurrency Level:      600

Time taken for tests:   27.057 seconds

Complete requests:      100000

Failed requests:        7361

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

Write errors:           0

Keep-Alive requests:    99378

Total transferred:      27682080 bytes

Total POSTed:           21302982

HTML transferred:       7512428 bytes

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

Time per request:       162.342 [ms] (mean)

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

Transfer rate:          999.12 [Kbytes/sec] received

768.88 kb/s sent

1768.01 kb/s total

Connection Times (ms)

min  mean[+/-sd] median   max

Connect:        0    1  10.3      0     187

Processing:     2  160  90.3    183     931

Waiting:        1  160  90.3    183     931

Total:          2  161  91.3    183     931

Percentage of the requests served within a certain time (ms)

50%    183

66%    197

75%    208

80%    219

90%    259

95%    300

98%    387

99%    482

100%    931 (longest request)

echo "===n-20000,c-500===="

Server Software:        openresty/1.11.2.5

Server Hostname:        xxx.xxx.xxx.xxx

Server Port:            8080

Document Path:          /auth

Document Length:        75 bytes

Concurrency Level:      500

Time taken for tests:   19.454 seconds

Complete requests:      100000

Failed requests:        0

Write errors:           0

Keep-Alive requests:    99305

Total transferred:      27647028 bytes

Total POSTed:           21243480

HTML transferred:       7513725 bytes

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

Time per request:       97.268 [ms] (mean)

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

Transfer rate:          1387.88 [Kbytes/sec] received

1066.42 kb/s sent

2454.29 kb/s total

Connection Times (ms)

min  mean[+/-sd] median   max

Connect:        0    1  10.5      0    1014

Processing:     1   95  78.1     78    1064

Waiting:        1   95  78.1     77    1064

Total:          1   96  81.1     78    1093

Percentage of the requests served within a certain time (ms)

50%     78

66%     99

75%    116

80%    129

90%    178

95%    239

98%    339

99%    452

100%   1093 (longest request)

echo "===n-20000,c-300===="

Server Software:        openresty/1.11.2.5

Server Hostname:        xxx.xxx.xxx.xxx

Server Port:            8080

Document Path:          /auth

Document Length:        75 bytes

Concurrency Level:      300

Time taken for tests:   22.396 seconds

Complete requests:      100000

Failed requests:        0

Write errors:           0

Keep-Alive requests:    99096

Total transferred:      27619216 bytes

Total POSTed:           21181446

HTML transferred:       7506450 bytes

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

Time per request:       67.187 [ms] (mean)

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

Transfer rate:          1204.33 [Kbytes/sec] received

923.61 kb/s sent

2127.95 kb/s total

Connection Times (ms)

min  mean[+/-sd] median   max

Connect:        0    1  11.5      0    1074

Processing:     1   66  40.2     51     334

Waiting:        0   65  40.1     51     334

Total:          1   67  42.4     51    1115

Percentage of the requests served within a certain time (ms)

50%     51

66%     78

75%     95

80%     99

90%    118

95%    141

98%    172

99%    203

100%   1115 (longest request)

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值