pull/10336/head
Craig Tiller 8 years ago
parent 4274925f83
commit cc7d9873f7
  1. 1
      tools/profiling/microbenchmarks/bm_diff.py

@ -137,6 +137,7 @@ class Benchmark:
new = self.samples[True][f]
old = self.samples[False][f]
if not new or not old: continue
print f, new, old
p = stats.ttest_ind(new, old)
if p < args.p_threshold:
self.final[f] = avg(new) - avg(old)

Loading…
Cancel
Save