##// END OF EJS Templates
benchmarks: restore `output` variable lost in D10884...
Martin von Zweigbergk -
r48251:50cd14db default
parent child Browse files
Show More
@@ -76,8 +76,9 b' def runperfcommand(reponame, command, *a'
76 76 ui, 'perfext', os.path.join(basedir, 'contrib', 'perf.py')
77 77 )
78 78 cmd = getattr(perfext, command)
79 with ui.silent():
80 cmd(ui, repo, *args, **kwargs)
79 ui.pushbuffer()
80 cmd(ui, repo, *args, **kwargs)
81 output = ui.popbuffer()
81 82 match = outputre.search(output)
82 83 if not match:
83 84 raise ValueError("Invalid output {}".format(output))
General Comments 0
You need to be logged in to leave comments. Login now