Skip to content
Snippets Groups Projects

Fix BW calculation in ThroughputProfileHandler

Merged Shunan Zhang requested to merge fix-bw-calc into master
All threads resolved!
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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:
Loading