diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-11-13 17:47:31 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-11-13 17:47:31 +0100 |
| commit | 9e1d58c70aa03522bb5dac28ad58508c4dfc1fa1 (patch) | |
| tree | 58ad9af8cb17e4912b496e839fc520881ce86677 | |
| parent | 91b89ede1923ad2f26d30006928dfadad765ca3f (diff) | |
| download | allocbench-9e1d58c70aa03522bb5dac28ad58508c4dfc1fa1.tar.gz allocbench-9e1d58c70aa03522bb5dac28ad58508c4dfc1fa1.zip | |
cleanup database dumps after redis benchmark
| -rw-r--r-- | src/benchmarks/redis.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/benchmarks/redis.py b/src/benchmarks/redis.py index 4cad3ba..4768c78 100644 --- a/src/benchmarks/redis.py +++ b/src/benchmarks/redis.py @@ -79,6 +79,11 @@ class BenchmarkRedis(Benchmark): def process_output(result, stdout, stderr, allocator, perm): result["requests"] = REQUESTS_RE.search(stdout).group("requests") + @staticmethod + def cleanup(): + if os.path.exists("dump.rdb"): + os.remove("dump.rdb") + def summary(self): self.barplot_single_arg("{requests}", ylabel='"requests per s"', |
