aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/blowup.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-02-11 13:23:55 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-02-11 13:23:55 +0100
commit60b860ce3619d5f165bf8eda6ad596d5d458d1e2 (patch)
tree595626c7efb43dedbe30753357fa64383056357f /src/benchmarks/blowup.py
parent9e2d7eb1cb952b398bd7363ab95ea9f1d4598ab1 (diff)
downloadallocbench-60b860ce3619d5f165bf8eda6ad596d5d458d1e2.tar.gz
allocbench-60b860ce3619d5f165bf8eda6ad596d5d458d1e2.zip
move plotting code from src.benchmark to src.plots
Diffstat (limited to 'src/benchmarks/blowup.py')
-rw-r--r--src/benchmarks/blowup.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/benchmarks/blowup.py b/src/benchmarks/blowup.py
index aca9293..8f8e550 100644
--- a/src/benchmarks/blowup.py
+++ b/src/benchmarks/blowup.py
@@ -17,6 +17,7 @@
"""Definition of the blowup micro benchmark"""
from src.benchmark import Benchmark
+import src.plots as plt
class BenchmarkBlowup(Benchmark):
@@ -53,15 +54,16 @@ class BenchmarkBlowup(Benchmark):
}
}
- self.barplot_single_arg("{VmHWM}/1000",
- ylabel='"VmHWM in MB"',
- title='"blowup test"',
- filepostfix="vmhwm")
+ plt.barplot_single_arg(self,
+ "{VmHWM}/1000",
+ ylabel='"VmHWM in MB"',
+ title='"blowup test"',
+ filepostfix="vmhwm")
del allocators["Ideal-RSS"]
del self.results["stats"]["Ideal-RSS"]
- self.export_stats_to_dataref("VmHWM")
+ plt.export_stats_to_dataref(self, "VmHWM")
blowup = BenchmarkBlowup()