From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Random idea about speeding up guix pull Date: Mon, 04 Sep 2017 17:01:28 +0200 Message-ID: <87a82ay0c7.fsf@gnu.org> References: 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]:40069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dostV-0003jy-6e for guix-devel@gnu.org; Mon, 04 Sep 2017 11:03:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dossU-0002Ol-U4 for guix-devel@gnu.org; Mon, 04 Sep 2017 11:02:33 -0400 In-Reply-To: (Hartmut Goebel's message of "Sun, 3 Sep 2017 16:27:03 +0200") 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: Hartmut Goebel Cc: guix-devel Heya, Hartmut Goebel skribis: > I've seen in Ludo's slides that speeding up guix pull is topic. Here is > a random idea on the: > > "git pull" can probably be speed up by using something like > > git init . > git remote add =E2=80=A6 > git fetch --depth=3D1 origin master > git checkout FETCH_HEAD > > This will only download the top-most commit resp. commit-state. That=E2=80=99s roughly what =E2=80=98guix pull=E2=80=99 does nowadays, now = that it uses Guile-Git. The problem is elsewhere: it=E2=80=99s compiling Guix=E2=80=99s Scheme code= that takes ages, in particular since we switch to Guile 2.2 (Guile 2.2=E2=80=99s fancy compiler gives us significant speedups at run time on core Guix, but it=E2=80=99s also slower when compiling simple code like package definition= s.) Ludo=E2=80=99.