From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: guix package --search slow ? Date: Wed, 15 May 2019 13:35:54 +0200 Message-ID: <87imuc6jc5.fsf@elephly.net> References: <87o9447pul.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:47397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQtqy-0002xQ-5o for guix-devel@gnu.org; Wed, 15 May 2019 09:21:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQtqx-0002g5-AA for guix-devel@gnu.org; Wed, 15 May 2019 09:21:52 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21252) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQtqv-0002ax-Se for guix-devel@gnu.org; Wed, 15 May 2019 09:21:51 -0400 In-reply-to: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: zimoun Cc: Guix Devel zimoun writes: > Your machine is probably faster than mine ;-) I ran this on a Thinkpad T60 with an Intel Core2 CPU (T7600) @ 2.33GHz. > Yes, once the cache is warm, then it is faster. > By "All following invocations" you mean a search for a non related > previous one. Right? I meant: the very same search. > My point is that the first search is (often)at least twice longer than > the `aptitude` counter part. And even it is longer than a `git grep` > on the raw .scm files. Yeah, it would be good to figure out a way to make it faster. -- Ricardo