From f4b8b39c03118e42af01e3653e53fc00aaac02f7 Mon Sep 17 00:00:00 2001 From: Shunan Zhang <shunan.zhang@cern.ch> Date: Wed, 1 Nov 2023 20:09:00 +0800 Subject: [PATCH] Fix BW calculation in ThroughputProfileHandler --- handlers/ThroughputProfileHandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/ThroughputProfileHandler.py b/handlers/ThroughputProfileHandler.py index c360ae7f..0d69e338 100644 --- a/handlers/ThroughputProfileHandler.py +++ b/handlers/ThroughputProfileHandler.py @@ -323,7 +323,7 @@ class ThroughputProfileHandler(BaseHandler): ref[0], ref[1], options) if measure_bandwidth: ref_bandwidth = get_couchdb_bandwidth( - ref[0], ref[1], options) + ref[0], ref[1], options) / 1e3 else: ref_bandwidth = 0.0 elif ref == (slot, build_id): @@ -335,7 +335,7 @@ class ThroughputProfileHandler(BaseHandler): test[0], test[1], options) if measure_bandwidth: new_bandwidth = get_couchdb_bandwidth( - test[0], test[1], options) + test[0], test[1], options) / 1e3 else: new_bandwidth = 0.0 else: -- GitLab