unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Olivier Dion <odion@efficios.com>, 65345@debbugs.gnu.org
Subject: bug#65345: guix-pull --list-generations is slow
Date: Thu, 24 Aug 2023 11:33:44 +0200	[thread overview]
Message-ID: <86lee0zsw7.fsf@gmail.com> (raw)
In-Reply-To: <87cyzmwzul.fsf@laura>

Hi,

On Wed, 16 Aug 2023 at 15:29, Olivier Dion <odion@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




      reply	other threads:[~2023-08-24 10:49 UTC|newest]

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

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=86lee0zsw7.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=65345@debbugs.gnu.org \
    --cc=odion@efficios.com \
    /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).