diff --git a/contrib/benchmarks/__init__.py b/contrib/benchmarks/__init__.py --- a/contrib/benchmarks/__init__.py +++ b/contrib/benchmarks/__init__.py @@ -76,8 +76,9 @@ def runperfcommand(reponame, command, *a ui, 'perfext', os.path.join(basedir, 'contrib', 'perf.py') ) cmd = getattr(perfext, command) - with ui.silent(): - cmd(ui, repo, *args, **kwargs) + ui.pushbuffer() + cmd(ui, repo, *args, **kwargs) + output = ui.popbuffer() match = outputre.search(output) if not match: raise ValueError("Invalid output {}".format(output))