Update benchmark run_all.py for Python3
This commit is contained in:
@@ -39,7 +39,7 @@ def run_one(prefix, name, mode, iters, faster, compression):
|
|||||||
data = {}
|
data = {}
|
||||||
|
|
||||||
if p.returncode != 0:
|
if p.returncode != 0:
|
||||||
sys.stderr.write(' '.join(command) + ' failed to run with errors: \n' + p.stderr.read() + '\n')
|
sys.stderr.write(' '.join(command) + ' failed to run with errors: \n' + p.stderr.read().decode(sys.stdout.encoding) + '\n')
|
||||||
sys.stderr.flush()
|
sys.stderr.flush()
|
||||||
|
|
||||||
data['type'] = res_type
|
data['type'] = res_type
|
||||||
|
|||||||
Reference in New Issue
Block a user