From c9d168d6d45d57304c7dcbe4c5cbaf949385764c Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 11 Dec 2019 21:31:38 +0100 Subject: fmt benchmark definitions with yapf --- src/benchmarks/blowup.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/benchmarks/blowup.py') diff --git a/src/benchmarks/blowup.py b/src/benchmarks/blowup.py index d55a0d7..aca9293 100644 --- a/src/benchmarks/blowup.py +++ b/src/benchmarks/blowup.py @@ -14,7 +14,6 @@ # # You should have received a copy of the GNU General Public License # along with allocbench. If not, see . - """Definition of the blowup micro benchmark""" from src.benchmark import Benchmark @@ -45,8 +44,14 @@ class BenchmarkBlowup(Benchmark): allocators["Ideal-RSS"] = {"color": "xkcd:gold"} self.results["stats"]["Ideal-RSS"] = {} for perm in self.iterate_args(args=self.results["args"]): - self.results["stats"]["Ideal-RSS"][perm] = {"mean": {"VmHWM": 1024 * 100}, - "std" : {"VmHWM": 0}} + self.results["stats"]["Ideal-RSS"][perm] = { + "mean": { + "VmHWM": 1024 * 100 + }, + "std": { + "VmHWM": 0 + } + } self.barplot_single_arg("{VmHWM}/1000", ylabel='"VmHWM in MB"', -- cgit v1.2.3