aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/redis.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-03-09 19:14:54 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-03-09 19:14:54 +0100
commit0e467466b1171f162948e9aaa369c6117d915e05 (patch)
tree9037afdb2813a104c0d60cc49f572418215786c0 /src/benchmarks/redis.py
parent19362370c09dd4ac945ed7cfff07d91f0db95353 (diff)
downloadallocbench-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/redis.py')
-rw-r--r--src/benchmarks/redis.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/benchmarks/redis.py b/src/benchmarks/redis.py
index 71d9227..cfad489 100644
--- a/src/benchmarks/redis.py
+++ b/src/benchmarks/redis.py
@@ -84,12 +84,12 @@ class BenchmarkRedis(Benchmark):
plt.barplot_single_arg(self, "{requests}",
ylabel='"requests per s"',
title='"redis throughput"',
- filepostfix="requests")
+ file_postfix="requests")
plt.barplot_single_arg(self, "{redis_vmhwm}",
ylabel='"VmHWM in KB"',
title='"redis memusage"',
- filepostfix="vmhwm")
+ file_postfix="vmhwm")
plt.export_stats_to_dataref(self, "requests")