From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:59199) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jL5xP-0003bD-3t for guix-patches@gnu.org; Sun, 05 Apr 2020 10:09:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jL5xO-0007J3-7v for guix-patches@gnu.org; Sun, 05 Apr 2020 10:09:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34894) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jL5xO-0007Is-4j for guix-patches@gnu.org; Sun, 05 Apr 2020 10:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jL5xO-0006ev-01 for guix-patches@gnu.org; Sun, 05 Apr 2020 10:09:02 -0400 Subject: [bug#39258] [PATCH v3 0/3] Package metadata cache for guix search Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200327162654.18785-1-arunisaac@systemreboot.net> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Arun Isaac Cc: mail@ambrevar.xyz, 39258@debbugs.gnu.org, zimon.toutoune@gmail.com 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.