guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Random idea about speeding up guix pull


From: Ludovic Courtès
Subject: Re: Random idea about speeding up guix pull
Date: Mon, 04 Sep 2017 17:01:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Heya,

Hartmut Goebel <address@hidden> 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 …
>     git fetch --depth=1 origin master
>     git checkout FETCH_HEAD
>
> This will only download the top-most commit resp. commit-state.

That’s roughly what ‘guix pull’ does nowadays, now that it uses
Guile-Git.

The problem is elsewhere: it’s compiling Guix’s Scheme code that takes
ages, in particular since we switch to Guile 2.2 (Guile 2.2’s fancy
compiler gives us significant speedups at run time on core Guix, but
it’s also slower when compiling simple code like package definitions.)

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]