From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 05 10:08:38 2020 Received: (at 39258) by debbugs.gnu.org; 5 Apr 2020 14:08:39 +0000 Received: from localhost ([127.0.0.1]:46440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jL5x0-0006dc-MP for submit@debbugs.gnu.org; Sun, 05 Apr 2020 10:08:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44037) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jL5wz-0006dA-0V for 39258@debbugs.gnu.org; Sun, 05 Apr 2020 10:08:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jL5ws-0006mN-JT; Sun, 05 Apr 2020 10:08:30 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39454 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jL5ws-0007xJ-58; Sun, 05 Apr 2020 10:08:30 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Arun Isaac Subject: Re: [PATCH v3 0/3] Package metadata cache for guix search References: <20200327162654.18785-1-arunisaac@systemreboot.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 05 Apr 2020 16:08:28 +0200 In-Reply-To: <20200327162654.18785-1-arunisaac@systemreboot.net> (Arun Isaac's message of "Fri, 27 Mar 2020 21:56:51 +0530") Message-ID: <87blo6hvoj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39258 Cc: mail@ambrevar.xyz, 39258@debbugs.gnu.org, zimon.toutoune@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Arun, Arun Isaac skribis: > This is v3 of my attempt to make guix search faster. In this version, I h= ave > abandoned use of xapian. Instead I build a cache of the metadata of all > packages in a profile hook. Then, I use that cache to search and display > search results. This way, package guile modules are not loaded during guix > search. > > Speedup is around 2x. Both measurements below are with a warm cache. Sorry for the delay! Just to say that I like the approach, and I=E2=80=99ll take a closer look once the release is out=E2=80=A6 Thank you! Ludo=E2=80=99.