diff --git a/src/app/item-detail/request-stats/request-stats-compare.component.html b/src/app/item-detail/request-stats/request-stats-compare.component.html index a8a91a2f..fd14e777 100644 --- a/src/app/item-detail/request-stats/request-stats-compare.component.html +++ b/src/app/item-detail/request-stats/request-stats-compare.component.html @@ -82,7 +82,7 @@
Request Statistics reqs/s {{defaultUnit ? "" : "[%]" }} - network [{{ defaultUnit ? "mbps" : "%" }}] + network [{{ defaultUnit ? "mbps" : "%" }}] error rate [%] diff --git a/src/app/item-detail/request-stats/request-stats-compare.component.ts b/src/app/item-detail/request-stats/request-stats-compare.component.ts index e06819e6..454bf6c3 100644 --- a/src/app/item-detail/request-stats/request-stats-compare.component.ts +++ b/src/app/item-detail/request-stats/request-stats-compare.component.ts @@ -321,6 +321,10 @@ export class RequestStatsCompareComponent implements OnInit, OnDestroy { return roundNumberTwoDecimals(((item.apdex.satisfaction + ( item.apdex.toleration * 0.5)) / item.samples)) } + public sortByNetwork(item) { + return roundNumberTwoDecimals(item.bytesPerSecond + item.bytesSentPerSecond) + } + private apdexScore(apdexValue: number): string { const score = [ { rangeFrom: 0.94, rangeTo: 1, name: "Excellent" },