unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Olivier Dion <odion@efficios.com>
To: 65345@debbugs.gnu.org
Subject: bug#65345: guix-pull --list-generations is slow
Date: Wed, 16 Aug 2023 15:29:06 -0400	[thread overview]
Message-ID: <87cyzmwzul.fsf@laura> (raw)

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





             reply	other threads:[~2023-08-21  6:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-16 19:29 Olivier Dion [this message]
2023-08-24  9:33 ` bug#65345: guix-pull --list-generations is slow Simon Tournier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cyzmwzul.fsf@laura \
    --to=odion@efficios.com \
    --cc=65345@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).