summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-07-21 17:30:20 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-07-21 17:42:30 -0400
commit4f51a4ac278d5001e0afdba3c5425e0bd6673505 (patch)
treebb564ba13ffedf3627b153851a31d5d9028cc5f9 /guix
parent1f07d4436cb6fb118ea0c8e6f4ea1eb5accfe38f (diff)
utils: Do not request block buffering in pretty-print-table.
Re-testing 'guix package -A' using the default line buffering set in (guix ui), there doesn't seem to be a performance gain to use block buffering, so remove this extraneous side effect. * guix/utils.scm (pretty-print-table): Do not set buffering mode to block. Reported-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guix')
-rw-r--r--guix/utils.scm1
1 files changed, 0 insertions, 1 deletions
diff --git a/guix/utils.scm b/guix/utils.scm
index 2c56c8b2e0..2920fa7684 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -963,7 +963,6 @@ bound by MAX-COLUMN-WIDTH."
(map (cut min <> max-column-width)
column-widths)))
(fmt (string-append (string-join column-formats "\t") "\t~a")))
- (setvbuf (current-output-port) 'block) ;for better performance
(for-each (cut format #t "~?~%" fmt <>) rows)))
;;; Local Variables: