forked from TrueCloudLab/frostfs-testlib
[#186] Add total bytes to report
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
f5a7ff5c90
commit
22b41b227f
3 changed files with 12 additions and 0 deletions
|
@ -50,6 +50,7 @@ class SummarizedStats:
|
|||
throughput: float = field(default_factory=float)
|
||||
latencies: SummarizedLatencies = field(default_factory=SummarizedLatencies)
|
||||
errors: SummarizedErorrs = field(default_factory=SummarizedErorrs)
|
||||
total_bytes: int = field(default_factory=int)
|
||||
passed: bool = True
|
||||
|
||||
def calc_stats(self):
|
||||
|
@ -85,6 +86,7 @@ class SummarizedStats:
|
|||
target.latencies.by_node[node_key] = operation.latency
|
||||
target.throughput += operation.throughput
|
||||
target.errors.threshold = load_params.error_threshold
|
||||
target.total_bytes = operation.total_bytes
|
||||
if operation.failed_iterations:
|
||||
target.errors.by_node[node_key] = operation.failed_iterations
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue