From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kFlDClax8GBS6AAAgWs5BA (envelope-from ) for ; Fri, 16 Jul 2021 00:06:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eCb8BVax8GDlRgAAB5/wlQ (envelope-from ) for ; Thu, 15 Jul 2021 22:06:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B843D1C760 for ; Fri, 16 Jul 2021 00:06:13 +0200 (CEST) Received: from localhost ([::1]:59050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m49Ui-0002NK-GS for larch@yhetil.org; Thu, 15 Jul 2021 18:06:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m49UY-0002N9-VT for guix-patches@gnu.org; Thu, 15 Jul 2021 18:06:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38406) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m49UY-0004IC-Ng for guix-patches@gnu.org; Thu, 15 Jul 2021 18:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m49UY-0000lM-Gi for guix-patches@gnu.org; Thu, 15 Jul 2021 18:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#30053] [PATCH 1/3] Improve appearance of tabular output. Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Jul 2021 22:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30053 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 30053@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= , Steve Sprang , Roel Janssen Received: via spool by 30053-submit@debbugs.gnu.org id=B30053.16263867262891 (code B ref 30053); Thu, 15 Jul 2021 22:06:02 +0000 Received: (at 30053) by debbugs.gnu.org; 15 Jul 2021 22:05:26 +0000 Received: from localhost ([127.0.0.1]:49952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m49Ty-0000kZ-Fu for submit@debbugs.gnu.org; Thu, 15 Jul 2021 18:05:26 -0400 Received: from out0.migadu.com ([94.23.1.103]:39332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m49Tu-0000kO-TP for 30053@debbugs.gnu.org; Thu, 15 Jul 2021 18:05:25 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1626386721; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ops5rEeeINaqOiYUu8B2106bFJ/BNyd8HM4bMyQ87f4=; b=MdQgBUSaFGsQkgpWoQSUd/BkANALXt80mI25NsjLOqltmCFIFg+9e3HinlbjreTn5fbiaC IWogUvSOl8DNEpyN8f5DjxvEdg1+eH0ZBvlR+1/ZlT34UuHbN2GTh4BzWK0AkTej5jxA8/ 4RnKlb7yasNwjsIOdj2p2ZKo7ixcuK8= References: <878td4nksy.fsf@gnu.org> <87fu7b2old.fsf@gnu.org> <87zi5d6g8f.fsf@gnu.org> <87im1cnnjb.fsf_-_@gmail.com> Date: Thu, 15 Jul 2021 15:05:18 -0700 In-Reply-To: <87im1cnnjb.fsf_-_@gmail.com> (Maxim Cournoyer's message of "Thu, 15 Jul 2021 01:39:36 -0400") Message-ID: <861r7zjkrl.fsf_-_@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: iskarian@mgsn.dev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Sarah Morgensen X-ACL-Warn: , Sarah Morgensen via Guix-patches From: Sarah Morgensen via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626386773; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=ops5rEeeINaqOiYUu8B2106bFJ/BNyd8HM4bMyQ87f4=; b=QWNcIX4BZZCiArNDOMlC6z8R68Hr/zTEgzlQKMI1VOum7XpAiwP9X4D0YKVQHrC9zsnsXV a1vSEvtn8X8ci2yy1X84l8qR4CAjjLg7XePnGH5MgEHohM9nZyMkTUeZMFCT0qpdHCmItz +TuxRXA/fQGeWcNn0hbS/KElSg3poyqdFoEetWfT5hpwZrVP7I5PG16ku6QXvtG48F83Z0 QPFgCRlLdYB1+cypn6BqZEWmSTsO+MmIZSxx9ppPUu/0bwc98BrXDFtFN8+Juk6AzGYaPx Az1taK6aJ6ZO0DRLLM+LRbDpcMyiXRe2tcgsaXnEsnkViLq3CTRDHBDs23F85A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626386773; a=rsa-sha256; cv=none; b=atJgEjLo+RZTyqzEatZqRztcj54zQr2cAeed/i4l7qiIRVDKe8Rb0m3kHp1ke1mTZWhl7V shlDMVcfvO00nMZxKtuVvGLOZ5U3ZalHTyYIX0ZhMBOalOQ/l6ShcduqbIF+m2NzWS13L+ SQSwY8fniyyKXMo90QBOuz2Ztj4QuRIphKWG/AQwtaUzpuRr8nKwuL60WxtmMRC2XQMstl oIITZTArKKhqpG1Cd1m7S9pMxsrBOdeUPdfZdcMxkd5GILx1sdlSZt9EHhfb56Xr43GDI9 6/NyC5WJWxhXh5ps/jvvXnGsVigVghhjf5cfkYIjzUwZH0paj4WicOJvpfucaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=MdQgBUSa; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=MdQgBUSa; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: B843D1C760 X-Spam-Score: -1.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: QfGDEuDLo/yk Hi Maxim, Maxim Cournoyer writes: > [...] > --- > Sample count: 567 > Total time: 20.913633405 seconds (12.747006885 seconds in GC) > > Without the change 'guix package -A' runs in about 2 seconds. With the > change it runs in about 12 seconds here. I cannot replicate this. Without the patch on master (7e0da2f): --8<---------------cut here---------------start------------->8--- $ time ./pre-inst-env guix package -A > /dev/null real 0m5.473s user 0m6.698s sys 0m0.094s --8<---------------cut here---------------end--------------->8--- And with the patch: --8<---------------cut here---------------start------------->8--- $ time ./pre-inst-env guix package -A > /dev/null real 0m5.778s user 0m6.862s sys 0m0.061s --8<---------------cut here---------------end--------------->8--- Perhaps there's something else going on there? I'm on x86-64, if that's useful. > Danny's suggestion to use 'guix package -A | columns -t' works too, but > it's not convenient nor discoverable. Definitely agree, though in my opinion neither that nor this *really* make `guix package --list-installed` pretty. I'm sure I could put together an alias but it goes a long way toward making Guix look polished to have it built-in. > > Any opinions? Otherwise I might throw a coin, as I'm 50/50 on this. > > > > > > Thanks, > > Maxim -- Sarah