Subject: Re: bug#78194: `guix pull --list-generations' is extremely slow

From: Ludovic Courtès <[email-masked]>
Date: Wed, 14 May 2025 22:28:37 +0200

Ludovic Courtès <[email-masked]> 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’.