diff options
Diffstat (limited to 'src/benchmarks/redis.py')
| -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"', |
