diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2018-09-14 18:01:55 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2018-09-14 18:01:55 +0200 |
| commit | 92f9e30dc210f45880b61d5c6472e631166fa883 (patch) | |
| tree | 3df362848cdaccd81cf20f6ccad07b7f2739da77 /mysql.py | |
| parent | e6ccf23edfd14767a45d618ceb58c5b40429ecf6 (diff) | |
| download | allocbench-92f9e30dc210f45880b61d5c6472e631166fa883.tar.gz allocbench-92f9e30dc210f45880b61d5c6472e631166fa883.zip | |
add usefull chattymalloc support and --nolibmemusage flag
improve bench.py
improve process_stdout hook -> process_output
rename perf_cmd -> measure_cmd
Diffstat (limited to 'mysql.py')
| -rw-r--r-- | mysql.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,7 +36,7 @@ class Benchmark_MYSQL( Benchmark ): self.args = {"nthreads" : range(1, multiprocessing.cpu_count() * 4 + 1, 2)} self.cmd = cmd - self.perf_cmd = "" + self.measure_cmd = "" self.requirements = ["mysqld", "sysbench"] super().__init__() @@ -127,7 +127,7 @@ class Benchmark_MYSQL( Benchmark ): self.server.kill() self.server.wait() - def process_stdout(self, result, stdout, verbose): + def process_output(self, result, stdout, stderr, target, perm, verbose): result["transactions"] = re.search("transactions:\s*(\d*)", stdout).group(1) result["queries"] = re.search("queries:\s*(\d*)", stdout).group(1) # Latency |
