aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/dj_trace.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-03-09 19:14:54 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-03-09 19:14:54 +0100
commit0e467466b1171f162948e9aaa369c6117d915e05 (patch)
tree9037afdb2813a104c0d60cc49f572418215786c0 /src/benchmarks/dj_trace.py
parent19362370c09dd4ac945ed7cfff07d91f0db95353 (diff)
downloadallocbench-0e467466b1171f162948e9aaa369c6117d915e05.tar.gz
allocbench-0e467466b1171f162948e9aaa369c6117d915e05.zip
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
Diffstat (limited to 'src/benchmarks/dj_trace.py')
-rw-r--r--src/benchmarks/dj_trace.py8
1 files changed, 4 insertions, 4 deletions
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):