GNU bug report logs - #65345
guix-pull --list-generations is slow

Previous Next

Package: guix;

Reported by: Olivier Dion <odion <at> efficios.com>

Date: Wed, 16 Aug 2023 19:30:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Olivier Dion <odion <at> efficios.com>, 65345 <at> debbugs.gnu.org
Subject: bug#65345: guix-pull --list-generations is slow
Date: Thu, 24 Aug 2023 11:33:44 +0200
Hi,

On Wed, 16 Aug 2023 at 15:29, Olivier Dion <odion <at> efficios.com> wrote:

> $ time guix pull --list-generations > /dev/null
> real    0m58.702s
> user    1m8.418s
> sys     0m1.527s

On my poor laptop, it’s the same (14 Generations):

        $ time guix pull --list-generations >/dev/null

        real	1m2.201s
        user	1m0.021s
        sys	0m2.482s

And note before it was worse. ;-)

        $ time guix pull --list-generations --details > /dev/null

        real	1m57.606s
        user	2m6.575s
        sys	0m5.608s


> From a search in pull.scm, I think that the culprit is in the
> `channel-news-for-commit' procedure.

Well, as pointers, we discussed some part of this issue in:

    https://issues.guix.gnu.org/53909
    https://issues.guix.gnu.org/54000

And as I said in these past discussions, because the default behaviour
is very slow for me, I barely use these options.  I do not know if it
can be optimized or if another option for bypassing the news part should
be added.


Cheers,
simon




This bug report was last modified 1 year and 301 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.