From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: Re: Combining Guix, direnv and Emacs for environment customisation Date: Thu, 01 Jun 2017 15:17:55 +0200 Message-ID: References: <20170527105641.9426-1-mail@cbaines.net> <20170527123113.1ca668e7@cbaines.net> <87tw424cap.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGPzY-0001pQ-NC for guix-devel@gnu.org; Thu, 01 Jun 2017 09:18:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGPzV-0004HF-Iz for guix-devel@gnu.org; Thu, 01 Jun 2017 09:18:20 -0400 In-reply-to: <87tw424cap.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, 27097@debbugs.gnu.org Ludovic Courtès writes: > I agree that we could do a lot more things with a faster ‘guix > environment’. My guess is that it won’t be easy to go optimize, and > very hard to go below 1 second. We should profile that and see what can > be done. FWIW, on our NFS-mounted /gnu, the 'guix environment' command takes at least 20 seconds, but for any reasonably big environment it takes more than one minute. The biggest bottleneck here is the disk latency. Could it be that 'guix environment' accesses many files? If we could reduce that, it would speed things up (at least for us ;)). Kind regards, Roel Janssen