From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 24 17:05:54 2020 Received: (at 39258) by debbugs.gnu.org; 24 Apr 2020 21:05:54 +0000 Received: from localhost ([127.0.0.1]:58090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jS5WD-0001Hu-8v for submit@debbugs.gnu.org; Fri, 24 Apr 2020 17:05:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jS5Vv-0001HO-Ux for 39258@debbugs.gnu.org; Fri, 24 Apr 2020 17:05:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40450) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jS5Vp-0003gX-1O; Fri, 24 Apr 2020 17:05:29 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45876 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jS5Vo-0000Hs-Kz; Fri, 24 Apr 2020 17:05:28 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Arun Isaac Subject: Re: [bug#39258] [PATCH v3 0/3] Package metadata cache for guix search References: <20200327162654.18785-1-arunisaac@systemreboot.net> Date: Fri, 24 Apr 2020 23:05:26 +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: <87pnbwfvc9.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-Spam-Score: 0.0 (/) 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 Isaac skribis: > Speedup is around 2x. Both measurements below are with a warm cache. > > $ time guix search inkscape > > real 0m1.722s > user 0m1.776s > sys 0m0.097s > > $ time /tmp/test/bin/guix search inkscape > > real 0m0.749s > user 0m0.770s > sys 0m0.020s > > This patchset does not affect the search API nor does it improve the rele= vance > of search results. If there is interest in this approach, I'll complete t= his > patchset properly. But, in the long run, I do think we should aim to get > xapian or the like for guix search. WDYT? > > Unfortunately, generate-package-metadata-cache takes 43 seconds to build = the > cache on my relatively slow computer. Performance should be better on oth= er > people's machines. 43 seconds is a lot. How do these 43 seconds compare to current =E2=80=98g= uix search=E2=80=99 on your computer? (Both do roughly the same thing.) Thanks, Ludo=E2=80=99.