relax QPS diff threshold

pull/11504/head
ncteisen 8 years ago
parent 63aa9c8446
commit 390668999f
  1. 2
      test/cpp/qps/qps_diff.py

@ -124,7 +124,7 @@ def diff(scenarios, loops, old, new):
for sn in scenarios: for sn in scenarios:
mdn_diff = abs(_median(new_data[sn]) - _median(old_data[sn])) mdn_diff = abs(_median(new_data[sn]) - _median(old_data[sn]))
print('%s: %s=%r %s=%r mdn_diff=%r' % (sn, new, new_data[sn], old, old_data[sn], mdn_diff)) print('%s: %s=%r %s=%r mdn_diff=%r' % (sn, new, new_data[sn], old, old_data[sn], mdn_diff))
s = bm_speedup.speedup(new_data[sn], old_data[sn]) s = bm_speedup.speedup(new_data[sn], old_data[sn], 10e-5)
if abs(s) > 3 and mdn_diff > 0.5: if abs(s) > 3 and mdn_diff > 0.5:
rows.append([sn, '%+d%%' % s]) rows.append([sn, '%+d%%' % s])

Loading…
Cancel
Save