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/keydb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/benchmarks/keydb.py') diff --git a/src/benchmarks/keydb.py b/src/benchmarks/keydb.py index 3833a87..b8da614 100644 --- a/src/benchmarks/keydb.py +++ b/src/benchmarks/keydb.py @@ -113,11 +113,11 @@ class BenchmarkKeyDB(Benchmark): plt.plot_fixed_arg(self, "{totals_ops}", ylabel="'OPS/second'", title="KeyDB Operations: {perm}", - filepostfix="total_ops") + file_postfix="total_ops") plt.plot_fixed_arg(self, "{keydb_vmhwm}", ylabel="'VmHWM [KB]'", title="KeyDB Memusage: {perm}", - filepostfix="vmhwm") + file_postfix="vmhwm") keydb = BenchmarkKeyDB() -- cgit v1.2.3