Skip to content

Commit

Permalink
Correctly set window_size.
Browse files Browse the repository at this point in the history
Fixes a bug where the window size of a set of benchmarks was not
stored if the user passed in a Krun JSON results file which
included outliers.
  • Loading branch information
Sarah Mount committed Apr 20, 2018
1 parent a23b6fb commit 15b849f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/warmup_stats
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ class BenchmarkFile(object):
# same number of iterations for all pexecs.
data = read_krun_results_file(filename)
found_full_pexec = False
if 'window_size' in data:
self.window = data['window_size']
for bench in data['wallclock_times']:
if found_full_pexec:
break
Expand Down

0 comments on commit 15b849f

Please sign in to comment.