GNU bug report logs -
#78194
`guix pull --list-generations' is extremely slow
Previous Next
Reported by: Ian Eure <ian <at> retrospec.tv>
Date: Thu, 1 May 2025 15:36:02 UTC
Severity: normal
Done: Andreas Enge <andreas <at> enge.fr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 78194 in the body.
You can then email your comments to 78194 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#78194
; Package
guix
.
(Thu, 01 May 2025 15:36:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ian Eure <ian <at> retrospec.tv>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 01 May 2025 15:36:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I’ve been frustrated by this before, but decided to measure
things:
`guix home list-generations' takes 3.535s to list 28 items.
`guix system list-generations' takes 1.406s to list 35 items.
`guix pull --list-generations' takes 232.599s to list 41 items.
Why is `guix pull --list-generations' >100x slower than `guix
system list-generations'?
Thanks,
-- Ian
Information forwarded
to
bug-guix <at> gnu.org
:
bug#78194
; Package
guix
.
(Wed, 14 May 2025 17:05:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 78194 <at> debbugs.gnu.org (full text, mbox):
Hi,
Ian Eure <ian <at> retrospec.tv> writes:
> I’ve been frustrated by this before, but decided to measure things:
>
> `guix home list-generations' takes 3.535s to list 28 items.
> `guix system list-generations' takes 1.406s to list 35 items.
> `guix pull --list-generations' takes 232.599s to list 41 items.
>
> Why is `guix pull --list-generations' >100x slower than `guix system
> list-generations'?
Because for each pair of generations, it shows the corresponding news
entries (as per ‘guix pull --news’), and that part is quite expensive
because it involves a Git log traversal.
I think we should (1) optimize the news code (that’s
‘channel-news-for-commit’), and (2) if that’s not enough consider
keeping it off by default in ‘guix pull --list-generations’.
Thoughts?
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#78194
; Package
guix
.
(Wed, 14 May 2025 21:52:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 78194 <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludo <at> gnu.org> writes:
> Because for each pair of generations, it shows the corresponding news
> entries (as per ‘guix pull --news’), and that part is quite expensive
> because it involves a Git log traversal.
>
> I think we should (1) optimize the news code (that’s
> ‘channel-news-for-commit’), and (2) if that’s not enough consider
> keeping it off by default in ‘guix pull --list-generations’.
That turned out to be easier than I thought, see
<https://issues.guix.gnu.org/78432>, which makes it 10–20x faster.
Ludo’.
Reply sent
to
Andreas Enge <andreas <at> enge.fr>
:
You have taken responsibility.
(Sun, 15 Jun 2025 08:50:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ian Eure <ian <at> retrospec.tv>
:
bug acknowledged by developer.
(Sun, 15 Jun 2025 08:50:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 78194-done <at> debbugs.gnu.org (full text, mbox):
This has apparently been solved, see the last message; closing.
Andreas
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 13 Jul 2025 11:24:20 GMT)
Full text and
rfc822 format available.
This bug report was last modified 34 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.