aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/keydb.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-02-21 14:19:38 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-02-21 14:19:38 +0100
commit9cf7987ca27bcc54c1326c2d7256543a332c3ff1 (patch)
tree637df2da3aeb50ee94ab5dc7564e54eca79d9cb6 /src/benchmarks/keydb.py
parentff939e64efa808c06d8a548bf133a9dea9b1023c (diff)
downloadallocbench-9cf7987ca27bcc54c1326c2d7256543a332c3ff1.tar.gz
allocbench-9cf7987ca27bcc54c1326c2d7256543a332c3ff1.zip
use plots from src.plots
Diffstat (limited to 'src/benchmarks/keydb.py')
-rw-r--r--src/benchmarks/keydb.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/benchmarks/keydb.py b/src/benchmarks/keydb.py
index a77de76..2b831eb 100644
--- a/src/benchmarks/keydb.py
+++ b/src/benchmarks/keydb.py
@@ -26,6 +26,7 @@ from multiprocessing import cpu_count
from src.artifact import GitArtifact
from src.benchmark import Benchmark
+import src.plots as plt
from src.util import print_info, run_cmd
@@ -109,12 +110,12 @@ class BenchmarkKeyDB(Benchmark):
os.remove("dump.rdb")
def summary(self):
- self.plot_fixed_arg("{totals_ops}",
+ plt.plot_fixed_arg(self, "{totals_ops}",
ylabel="'OPS/second'",
title="'KeyDB Operations: ' + str(perm)",
filepostfix="total_ops")
- self.plot_fixed_arg("{keydb_vmhwm}",
+ plt.plot_fixed_arg(self, "{keydb_vmhwm}",
ylabel="'VmHWM [KB]'",
title="'KeyDB Memusage: ' + str(perm)",
filepostfix="vmhwm")