From 0e467466b1171f162948e9aaa369c6117d915e05 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 9 Mar 2020 19:14:54 +0100 Subject: improve matplotlib code add new helper functions to get all y_values for a plot use seperate figures for each plot s/filepostfix/file_postfix/ to be consistent --- src/benchmarks/dj_trace.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/benchmarks/dj_trace.py') diff --git a/src/benchmarks/dj_trace.py b/src/benchmarks/dj_trace.py index 4730db3..b6ae83d 100644 --- a/src/benchmarks/dj_trace.py +++ b/src/benchmarks/dj_trace.py @@ -200,7 +200,7 @@ class BenchmarkDJTrace(Benchmark): "{cputime}/1000", ylabel="time in ms", title="total runtime", - filepostfix="runtime") + file_postfix="runtime") # Function Times func_times_means = {allocator: {} for allocator in allocators} @@ -262,12 +262,12 @@ class BenchmarkDJTrace(Benchmark): "{Max_RSS}/1000", ylabel="Max RSS in MB", title="Max RSS (VmHWM)", - filepostfix="newrss") + file_postfix="newrss") # self.barplot_fixed_arg("{Max_RSS}/1000", # ylabel='"Max RSS in MB"', # title='"Highwatermark of Vm (VmHWM)"', - # filepostfix="newrss") + # file_postfix="newrss") del allocators["Ideal_RSS"] del self.results["stats"]["Ideal_RSS"] @@ -312,7 +312,7 @@ class BenchmarkDJTrace(Benchmark): "expression": "{Max_RSS}/1000", "sort": "<" }], - filepostfix="table") + file_postfix="table") # Tables for perm in self.iterate_args(args=args): -- cgit v1.2.3