GNU bug report logs - #78194
`guix pull --list-generations' is extremely slow

Previous Next

Package: guix;

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.

Full log


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

From: Ludovic Courtès <ludo <at> chbouib.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 78194 <at> debbugs.gnu.org, Ian Eure <ian <at> retrospec.tv>
Subject: Re: bug#78194: `guix pull --list-generations' is extremely slow
Date: Wed, 14 May 2025 22:28:37 +0200
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’.




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.