Skip to content
Snippets Groups Projects
Commit f4b8b39c authored by Shunan Zhang's avatar Shunan Zhang
Browse files

Fix BW calculation in ThroughputProfileHandler

parent 4a5c7bc9
No related branches found
No related tags found
1 merge request!266Fix BW calculation in ThroughputProfileHandler
Pipeline #6420010 passed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment