From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:53763) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikX1P-0000qp-1i for guix-patches@gnu.org; Thu, 26 Dec 2019 12:34:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ikX1O-0001MA-3H for guix-patches@gnu.org; Thu, 26 Dec 2019 12:34:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50207) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ikX1O-0001M3-0s for guix-patches@gnu.org; Thu, 26 Dec 2019 12:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ikX1N-0006hp-VF for guix-patches@gnu.org; Thu, 26 Dec 2019 12:34:01 -0500 Subject: [bug#38754] [PATCH 0/2] Speed up the derivation linter. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:53649) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikX0Y-0000pN-QG for guix-patches@gnu.org; Thu, 26 Dec 2019 12:33:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ikX0X-00018Y-Ob for guix-patches@gnu.org; Thu, 26 Dec 2019 12:33:10 -0500 Received: from mira.cbaines.net ([212.71.252.8]:55184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ikX0X-00018N-J2 for guix-patches@gnu.org; Thu, 26 Dec 2019 12:33:09 -0500 Received: from localhost (140.126.9.51.dyn.plus.net [51.9.126.140]) by mira.cbaines.net (Postfix) with ESMTPSA id 5DFC517995 for ; Thu, 26 Dec 2019 17:33:08 +0000 (GMT) Received: from phact (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 47db1fab for ; Thu, 26 Dec 2019 17:33:08 +0000 (UTC) From: Christopher Baines Date: Thu, 26 Dec 2019 17:33:07 +0000 Message-ID: <8736d7rnzg.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38754@debbugs.gnu.org --=-=-= Content-Type: text/plain These patches speed up the derivation linter by reducing the number of times a connection to the guix-daemon is established. In testing on my computer, the time to lint all guix packages with the derivation linter drops from around 6 minutes to around 3 minutes. Christopher Baines (2): guix: lint: Add an optional parameter for a store connection. scripts: lint: Set the %link-checker-store-connection parameter. guix/lint.scm | 42 ++++++++++++++++++++++++++---------------- guix/scripts/lint.scm | 22 +++++++++++++--------- 2 files changed, 39 insertions(+), 25 deletions(-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl4E7tNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xfy4RAAueFqD//gxRswuA8ghEF+ejdpH0L83kWS2cHDqhz86CgWA31+15NmweJB 1DQbBvs8c/vABpCIoLTnlGb+4K61XrFeP/YWNujBVgV+sWbw8Eg681ET1uAwwIAL GJEkkuM9jGt6EkO6TB8EG5eiYwCpGFCPNSCkOljDkXmJM9ah49WuX2THVTFeFkqz hcV86ElvFiVHL8TPMH/DEckGkFwLWMZNBkCX5/h8fD/yv+hqqMOMMDnIJKM3E4Pg HR/phgmS7puRhSQWm/BoVjH3T5fc1gS+WUV/kTZd6dAEMzQvy2WGdIXKRd5YsREg 49draeO1J2FSDfAukt0rHGEt3JeJ9xhxdUP52bG48qudz/UGWjDeGpkMKcBs7kM0 V2A6YFzcmDhww2aE0zBJT8+cY+B+xrX9RjlF4+jMN+BWJHLUE61lP/zTwjjGLXzg Rf9c9knTo1Lay4xe2Eyl6gmQxpM77U2U1oyyYboN+hGJzM7mIpXt/12UyXJJf0Cj DMH17EIWcPIGQiijPzmmG3LUq2rSG51iL+VMwxHesLsw8jR9gCQDOz2+fIFANxru cegH3iQbB8SDtsSCyy/zQC4Vhc5VBY5IL/B4uLBDGSmoT4Rxc8kWPXAT+9PoVcHq svuNl6STjW6FHSt+0M9zg64oWbQWRYUwLC/iAGMdQa/wGqZ33Xg= =XnOR -----END PGP SIGNATURE----- --=-=-=--