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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Olivier Dion <odion <at> efficios.com>
To: bug-guix <at> gnu.org
Subject: guix-pull --list-generations is slow
Date: Wed, 16 Aug 2023 15:29:06 -0400
Hi,

Calling `guix-pull --list-generations' is very slow on my system with 37
generations.

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

Also, it takes a lot of CPU (100% of a core).

$ guix describe:
  guix 7b2b0a5
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 7b2b0a5e1d635fb0e3d2d3e9141ac27c2db644b5

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

Thanks,

old
-- 
Olivier Dion
EfficiOS Inc.
https://www.efficios.com





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.