HTTP 壓力測試工具 wrk
wrk 是一個比較先進的 HTTP 壓力測試工具。
測試方法:
wrk -t8 -c400 -r10m http://localhost:8080/index.html
輸出結果:
Making 10000000 requests to http://localhost:8080/index.html 8 threads and 400 connections Thread Stats Avg Stdev Max +/- Stdev Latency 439.75us 350.49us 7.60ms 92.88% Req/Sec 61.13k 8.26k 72.00k 87.54% 10000088 requests in 19.87s, 3.42GB read Requests/sec: 503396.23 Transfer/sec: 176.16MB
本文由用戶 fmms 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!