Skip to content

Commit

Permalink
Revert formatting changes not part of PR
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Roblin <[email protected]>
  • Loading branch information
finnroblin committed Jul 22, 2024
1 parent 626953f commit d40921d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
11 changes: 2 additions & 9 deletions osbenchmark/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1759,17 +1759,10 @@ def __call__(self):
result.add_op_metrics(
t,
task.operation.name,
self.summary_stats(
"throughput",
t,
op_type,
percentiles_list=self.throughput_percentiles,
),
self.summary_stats("throughput", t, op_type, percentiles_list=self.throughput_percentiles),
self.single_latency(t, op_type),
self.single_latency(t, op_type, metric_name="service_time"),
self.single_latency(
t, op_type, metric_name="client_processing_time"
),
self.single_latency(t, op_type, metric_name="client_processing_time"),
self.single_latency(t, op_type, metric_name="processing_time"),
error_rate,
duration,
Expand Down
2 changes: 1 addition & 1 deletion osbenchmark/worker_coordinator/worker_coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ def __call__(self, raw_samples):
end = time.perf_counter()
self.logger.debug("Calculating throughput took [%f] seconds.", (end - start))
start = end
for task, samples in aggregates.items(): # returns dict of task, and samples.
for task, samples in aggregates.items():
meta_data = self.merge(
self.workload_meta_data,
self.test_procedure_meta_data,
Expand Down
1 change: 0 additions & 1 deletion tests/metrics_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,6 @@ def test_store_results(self):
"saturation": "70% saturated"
}
}

]
self.es_mock.bulk_index.assert_called_with(
index="benchmark-results-2016-01",
Expand Down

0 comments on commit d40921d

Please sign in to comment.