From 0c4a1eb7a4e49872d495bcd8c26d4a0b0375e096 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 21 Feb 2020 15:22:59 +0100 Subject: fix title of keydb plots --- src/benchmarks/keydb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/benchmarks/keydb.py b/src/benchmarks/keydb.py index 2b831eb..743c895 100644 --- a/src/benchmarks/keydb.py +++ b/src/benchmarks/keydb.py @@ -112,12 +112,12 @@ class BenchmarkKeyDB(Benchmark): def summary(self): plt.plot_fixed_arg(self, "{totals_ops}", ylabel="'OPS/second'", - title="'KeyDB Operations: ' + str(perm)", + title="KeyDB Operations: {perm}", filepostfix="total_ops") plt.plot_fixed_arg(self, "{keydb_vmhwm}", ylabel="'VmHWM [KB]'", - title="'KeyDB Memusage: ' + str(perm)", + title="KeyDB Memusage: {perm}", filepostfix="vmhwm") keydb = BenchmarkKeyDB() -- cgit v1.2.3