From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#20255: 'search-paths' should respect both user and system profile. Date: Mon, 30 Nov 2015 12:08:59 +0300 Message-ID: <874mg3dfbo.fsf@gmail.com> References: <877ftschjt.fsf@gmail.com> <87fv8fip01.fsf@gnu.org> <87d23j1bxk.fsf@gmail.com> <871tjyfnl8.fsf@gnu.org> <876199q4z1.fsf@gmail.com> <87ioca4ojo.fsf@gnu.org> <87lh9tvcws.fsf@gnu.org> <87h9kguwc4.fsf@gmail.com> <87ziy7d90z.fsf@gnu.org> <874mgfkxee.fsf@gmail.com> <87wptb5d1y.fsf@gnu.org> <87r3jisc76.fsf@gmail.com> <877fl7cnxl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3KTL-0000AY-Gx for bug-guix@gnu.org; Mon, 30 Nov 2015 04:10:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3KTF-00032x-2Y for bug-guix@gnu.org; Mon, 30 Nov 2015 04:10:11 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3KTE-00032p-U3 for bug-guix@gnu.org; Mon, 30 Nov 2015 04:10:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a3KTE-0007io-3H for bug-guix@gnu.org; Mon, 30 Nov 2015 04:10:04 -0500 In-Reply-To: <877ftschjt.fsf@gmail.com> Sender: "Debbugs-submit" Resent-Message-ID: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 20255@debbugs.gnu.org Ludovic Court=C3=A8s (2015-11-24 20:22 +0300) wrote: > Alex Kost skribis: > >> Ludovic Court=C3=A8s (2015-11-21 23:10 +0300) wrote: > > [...] > >>> Really? Can you show the output of: >>> >>> time guix package -p /run/current-system/profile \ >>> -p ~/.guix-profile --search-paths >> >> real 0m2.634s >> user 0m0.568s >> sys 0m0.080s > > Could you measure again after cc3de1d? > > As it turns out, =E2=80=98guix package=E2=80=99 loads way too much and al= so stats too > much, at least for simple operations like --search-paths. real 0m1.122s user 0m0.244s sys 0m0.044s I measured it several times with a "cold" HDD (I mean when appropriate files were not cached), and the real time was always 1.0=E2=80=941.3s. Big improvement! Thank you very much for this, autoloads are great! --=20 Alex