This commit is contained in:
syuilo
2018-09-15 05:40:58 +09:00
parent e615a3fdf3
commit c985fed3e4
7 changed files with 200 additions and 2 deletions

View File

@ -204,4 +204,30 @@ export interface IStats {
decSize: number;
};
};
/**
* ネットワークに関する統計
*/
network: {
/**
* サーバーへのリクエスト数
*/
requests: number;
/**
* 応答時間の合計
* TIP: (totalTime / requests) でひとつのリクエストに平均でどれくらいの時間がかかったか知れる
*/
totalTime: number;
/**
* 合計受信データ量
*/
incomingBytes: number;
/**
* 合計送信データ量
*/
outgoingBytes: number;
};
}