Mgbench: apply filtering on results from client
This commit is contained in:
parent
c5eb3ff2c0
commit
70dc19dfdb
@ -155,4 +155,5 @@ class Client:
|
||||
args = self._get_args(input=file_path, num_workers=num_workers, queries_json=queries_json)
|
||||
ret = subprocess.run(args, stdout=subprocess.PIPE, check=True)
|
||||
data = ret.stdout.decode("utf-8").strip().split("\n")
|
||||
data = [x for x in data if not x.startswith("[")]
|
||||
return list(map(json.loads, data))
|
||||
|
Loading…
Reference in New Issue
Block a user