1. 程式人生 > >Apache ab性能測試結果分析

Apache ab性能測試結果分析

wait 指定 path name 平均值 connect con ssi ans


Apache ab性能測試結果分析

  測試場景:模擬10個用戶,對某頁發起總共100次請求。

  測試命令: ab -n 100 -c 10 地址

  測試報告:

    Server Software: 被測服務器軟件信息

    Server Hostname: 被測主機名

    Server Port: 被測主機服務端口號

    SSL/TLS Protocol: 協議

    Document Path: 請求的具體路徑

    Document Length: 請求的文件大小 

    Concurrency Level: 並發數,請求參數-c指定的數量

    Time taken for tests: 測試總體使用時間

    Complete requests: 測試總請求數,請求參數-n指定的數量

    Failed requests: 失敗請求數量

    Total transferred: 傳輸的總數據量

    HTML transferred: 接收的文件總大小

    Requests per second: 平均每秒完成的請求數

    Time per request:完成一個請求所需要的時間(用戶角度)

    Time per request: 服務器完成一個請求的時間 (mean, across all concurrent requests)

    Transfer rate: 網絡傳輸速度

    Connection Times (ms)

           min(最小值) mean(平均值) [+/-sd](標準差) median(中位數) max(最大值)

Connect(網絡連接): - - - - -

Processing(系統處理): - - - - -

Waiting(等待): - - - - -

Total(總): - - - - -

   ps: Total並不等於前三行數據相加,因為前三行的數據並不是在同一個請求中采集到的。

    Percentage of the requests served within a certain time (ms) 有x%的請求都是在yms內完成的

    x% y

   

Apache ab性能測試結果分析