Skip to content

Commit 897b9ef

Browse files
committed
[benchmark] Gardening: Fix linter nitpicks
1 parent e0fa6cf commit 897b9ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benchmark/scripts/compare_perf_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def __init__(self, csv_row, quantiles=False, memory=False, delta=False):
245245
runtimes = reduce(lambda l, x: l.append(l[-1] + x) or # runnin
246246
l if l else [x], runtimes, None) # total
247247
num_values = len(runtimes)
248-
if self.num_samples < num_values: # remove repeated samples
248+
if self.num_samples < num_values: # remove repeated samples
249249
quantile = num_values - 1
250250
qs = [float(i) / float(quantile) for i in range(0, num_values)]
251251
indices = [max(0, int(ceil(self.num_samples * float(q))) - 1)

benchmark/scripts/test_compare_perf_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def test_parse_delta_quantiles(self):
508508
)['DropWhileArray']
509509
self.assertEquals(
510510
(r.num_samples, r.min, r.max, r.samples.count),
511-
# last 3 ventiles were outliers and were excluded from the sample
511+
# last 3 ventiles were outliers and were excluded from the sample
512512
(200, 214, 215, 18))
513513

514514
def test_parse_results_verbose(self):

0 commit comments

Comments
 (0)