aboutsummaryrefslogtreecommitdiff
path: root/mysql.py
diff options
context:
space:
mode:
Diffstat (limited to 'mysql.py')
-rw-r--r--mysql.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql.py b/mysql.py
index 2f501da..8b2437f 100644
--- a/mysql.py
+++ b/mysql.py
@@ -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