测试web网站速度
主要新建網(wǎng)站的網(wǎng)絡(luò)訪問測試使用:
Requests per second:吞吐率 The number of concurrent connections:并發(fā)連接數(shù) Time per request:用戶平均請求等待時(shí)間 Time taken for tests 測試總時(shí)長 Failed requests: 失敗請求數(shù) Transfer rate: 網(wǎng)絡(luò)傳輸速度一、命令類:
1:用Ping命令簡單網(wǎng)速性能測試
2:用tracert命令簡單網(wǎng)速性能測試
tracert www.baidu.com3:用mtr命令簡單測網(wǎng)站速度
# -r 表示以report模式輸出結(jié)果,默認(rèn)為動(dòng)態(tài)模式 # -w 表示以report-wide模式輸出結(jié)果,即不要截?cái)嘀鳈C(jī)名 # -b 表示同時(shí)顯示主機(jī)名和IP mtr -r -w -b www.baidu.com4:CURL命令測試網(wǎng)站打開速度
curl -o /dev/null -s -w %{time_namelookup}:%{time_connect}:%{time_starttransfer}:%{time_total} http://www.baidu.com二、工具類:
1:使用apache bench壓測工具測網(wǎng)站速度
2:利用JMeter的錄制功能對Web網(wǎng)頁進(jìn)行壓力測試
三、免費(fèi)網(wǎng)站速度測試
網(wǎng)址1: http://gtmetrix.com 網(wǎng)址2: http://www.17ce.com/mtr 網(wǎng)址3: http://ping.chinaz.com/ 網(wǎng)址4: http://www.webkaka.com 網(wǎng)站5: https://blog.csdn.net/weixin_42966484/article/details/83065331總結(jié)
- 上一篇: 【IT之路】Docker拉取镜像查看版本
- 下一篇: Elasticsearch分布式引擎7.