contrib/benchmarks/__init__.py
changeset 47458 50cd14dbd3b3
parent 47437 7a430116f639
child 48875 6000f5b25c9b
--- a/contrib/benchmarks/__init__.py	Mon Jun 07 11:59:27 2021 +0200
+++ b/contrib/benchmarks/__init__.py	Tue Jun 22 08:24:27 2021 -0700
@@ -76,8 +76,9 @@
         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))