diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-03-09 19:14:54 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-03-09 19:14:54 +0100 |
| commit | 0e467466b1171f162948e9aaa369c6117d915e05 (patch) | |
| tree | 9037afdb2813a104c0d60cc49f572418215786c0 /src/benchmarks/keydb.py | |
| parent | 19362370c09dd4ac945ed7cfff07d91f0db95353 (diff) | |
| download | allocbench-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/keydb.py')
| -rw-r--r-- | src/benchmarks/keydb.py | 4 |
1 files changed, 2 insertions, 2 deletions
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() |
