We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5228410 commit ba80720Copy full SHA for ba80720
redisbench_admin/run/metrics.py
@@ -147,7 +147,8 @@ def from_info_to_overall_shard_cpu(benchmark_cpu_stats):
147
total_cpu_usage = end_total_cpu - start_total_cpu
148
avg_cpu_pct = 100.0 * (total_cpu_usage / total_secs)
149
res[shard_n] = avg_cpu_pct
150
- total_avg_cpu_pct += avg_cpu_pct
+ if avg_cpu_pct is not None:
151
+ total_avg_cpu_pct += avg_cpu_pct
152
return total_avg_cpu_pct, res
153
154
0 commit comments