小测试 php代理,nginx代理,直接访问对比

时间:2022-04-24 14:47:31
#php proxy
total sent request num: 507
total handle read times: 506
506 fetches, 2 max parallel, 2.7129e+06 bytes, in 20 seconds
5361.45 mean bytes/fetches
25.3 fetches/sec, 135645 bytes/sec
msecs/connect: 6.59681 mean, 12.004 max, 3.733 min
msecs/response: 72.3596 mean, 843.296 max, 52.108 min
25% percent: 60.78ms
50% percent: 65.99ms
75% percent: 72.71ms
90% percent: 81.58ms
95% percent: 87.44ms
98% percent: 153.57ms
99% percent: 164.13ms
364 bad byte counts
HTTP response codes:
code 200 -- 506 #direct access
total sent request num: 1412
total handle read times: 6532
1410 fetches, 2 max parallel, 2.53137e+07 bytes, in 20 seconds
17953 mean bytes/fetches
70.5 fetches/sec, 1.26568e+06 bytes/sec
msecs/connect: 1.7184 mean, 13.131 max, 1.008 min
msecs/response: 24.3906 mean, 812.359 max, 16.691 min
25% percent: 20.03ms
50% percent: 21.16ms
75% percent: 23.44ms
90% percent: 28.69ms
95% percent: 33.58ms
98% percent: 37.19ms
99% percent: 41.22ms
90 bad byte counts
HTTP response codes:
code 200 -- 1410 #nginx proxy
total sent request num: 506
total handle read times: 2399
504 fetches, 2 max parallel, 9.04832e+06 bytes, in 20 seconds
17953 mean bytes/fetches
25.2 fetches/sec, 452416 bytes/sec
msecs/connect: 9.08088 mean, 37.069 max, 4.022 min
msecs/response: 58.9799 mean, 825.376 max, 36.874 min
25% percent: 44.37ms
50% percent: 51.42ms
75% percent: 58.03ms
90% percent: 68.05ms
95% percent: 74.27ms
98% percent: 133.24ms
99% percent: 151.88ms
23 bad byte counts
HTTP response codes:
code 200 -- 504