From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:33084) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSigQ-0006OL-Rm for guix-patches@gnu.org; Sun, 26 Apr 2020 10:55:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSigQ-000266-DN for guix-patches@gnu.org; Sun, 26 Apr 2020 10:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSigQ-00025u-26 for guix-patches@gnu.org; Sun, 26 Apr 2020 10:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSigP-0001eh-Ul for guix-patches@gnu.org; Sun, 26 Apr 2020 10:55:01 -0400 Subject: [bug#39258] [PATCH v3 1/3] guix: Generate package metadata cache. Resent-Message-ID: From: Pierre Neidhardt In-Reply-To: <87r1wa48n0.fsf@gnu.org> References: <20200327162654.18785-1-arunisaac@systemreboot.net> <20200327162654.18785-2-arunisaac@systemreboot.net> <87h7x8haor.fsf@gnu.org> <87r1wa48n0.fsf@gnu.org> Date: Sun, 26 Apr 2020 16:54:36 +0200 Message-ID: <87r1wa70wj.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= , zimoun Cc: Arun Isaac , 39258@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo! Ludovic Court=C3=A8s writes: > It=E2=80=99s complicated. As it stands, I=E2=80=99d rather not add overh= ead to =E2=80=98guix > pull=E2=80=99, especially since current =E2=80=98guix search=E2=80=99 on = my SSD is fast enough > and can hardly be made any faster. The question is, what is fast enough? I have an NVMe here that has a throughput of some 2GB/s, and yet =2D-8<---------------cut here---------------start------------->8--- time guix search emacs > /dev/null real 0m1.545s user 0m1.938s sys 0m0.080s =2D-8<---------------cut here---------------end--------------->8--- on a hot cache, which is too slow in my opinion :p Mildly impatient users might be slightly discouraged from iterating search queries. It also makes `guix search` very impractical to use in (non-guile) script. Which is too bad considering that the recsel-formatting makes `guix search` a very good candidate for scripting. Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl6loKwACgkQm9z0l6S7 zH8XxAf+N5eNs9ZFVdD/bZ6EjRN8lm4vH3L8FobMWtGptX86qlvgayEwferhobfE ogycDjCFVp0pXmYw2O60T9mY5lQn6cghfJS2zZqjFrgLMo16PtGh7sQVu28AMQOq y2j1plUYkXlRPyw0qQRONjKPaLxZ9p0fBtnQubFvjTAXMTf28TSHX+ZJfE5/ESvd cgZ7y4nMkYrBXqdBKyWLJ3RNqyeLCgY0TeeE3blYHu4iMv+2xzUIDLy1rsg5Xlb0 ttsIXAnmVBrx4nSCG4Kj7irGW6YTlg0PC+73Dt2VU4yuT7CFUEpApA7f88D1U4vs pQuJDRuwnQrC4toal1EYLedup5beLw== =B9Hq -----END PGP SIGNATURE----- --=-=-=--