diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-02-24 18:02:26 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-02-24 18:02:26 +0100 |
| commit | 776851ce7e57406ddf5200ad1d4bcc5376b58b60 (patch) | |
| tree | 651e45e91c62169395f77ae79dddb477545a5e49 | |
| parent | 387017a28282b2cf2e2a52b13c58efe8991dfd75 (diff) | |
| download | allocbench-776851ce7e57406ddf5200ad1d4bcc5376b58b60.tar.gz allocbench-776851ce7e57406ddf5200ad1d4bcc5376b58b60.zip | |
minor whitespace fixes
| -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 743c895..3833a87 100644 --- a/src/benchmarks/keydb.py +++ b/src/benchmarks/keydb.py @@ -38,7 +38,7 @@ class BenchmarkKeyDB(Benchmark): self.cmd = "memtier_benchmark –hide-histogram --threads {threads} –data-size {size}" self.args = {"threads": Benchmark.scale_threads_for_cpus(1 / 2), "size": [8, 64, 256, 1024, 4096, 16384]} - + self.servers = [{ "name": "keydb", "cmd": f"keydb-server --server-threads 4", # 4 is the by keydb recommended amount @@ -103,7 +103,7 @@ class BenchmarkKeyDB(Benchmark): result[f"{line[0].lower()}_{stat}"] = line[i + 1] if result[f"{line[0].lower()}_{stat}"] == "---": result[f"{line[0].lower()}_{stat}"] = "nan" - + @staticmethod def cleanup(): if os.path.exists("dump.rdb"): |
