unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#65345: guix-pull --list-generations is slow
@ 2023-08-16 19:29 Olivier Dion
  2023-08-24  9:33 ` Simon Tournier
  0 siblings, 1 reply; 2+ messages in thread
From: Olivier Dion @ 2023-08-16 19:29 UTC (permalink / raw)
  To: 65345

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-24 10:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-16 19:29 bug#65345: guix-pull --list-generations is slow Olivier Dion
2023-08-24  9:33 ` Simon Tournier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).