From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MAG/FL8152TMIAEASxT56A (envelope-from ) for ; Thu, 24 Aug 2023 12:49:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IM1YFL8152TCAAEAauVa8A (envelope-from ) for ; Thu, 24 Aug 2023 12:49:35 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4B3E36A2F8 for ; Thu, 24 Aug 2023 12:49:25 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=sNmogpR8; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692874165; a=rsa-sha256; cv=none; b=cz7tO6ZO7XO1l73RVR3j33Is5rUzAZtNLjRyzYqB44MD5+tMs7PNHLk6uHaeV+t9TpC48e XileN7ytSpO9Cdb2B/CyCrk6vmb7oVh3cPGCBIlFeLQssqb2itxfnjJAXg53AnrkEzgoOj tqclmLor95ZDtHykWcrPiAETYTsGww0ChdcdMZkVBmLTXjTan7MI/cR5LUgVc5JtWdsnvX Cyo5MR3mEG7/hp+VcMRbDz3Nt1RfbKMAISDqLBW+n1SSP0gq/kwl6vL9TK4Cw1IqfCoway zorQgioesOifAUO3ucd8Z9B9pASkFN7jhyT1eM4712BUqiTn4Jf+pr9Jro7POQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=sNmogpR8; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692874165; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GQI3QLqyRlj0HEhfk89lZSTzNqSeFYpvcmuYZSHh2GI=; b=PZtY07gGdSvAI4zGr80/SgOGZsJX/RhuU86zSLn2K3CyVLbGq3dhmZJRBc4duR/xjDbBCn SUo+vSj7CRXNGcRlrvgZciuhGKKguZLD/NENVyadg1n4mr1jFySrlREhBM2rUfdmNeBb8E 4mrAklPYoU6NltlJzHqkh/v+F68MxMHrNV52vBP/caF3h0VaKVPCFPLbREhb8ZjunGtVUv 7mnqSo/+vyJVofVzU+iX29Ap2XpZJnEsS3HfcSQsvviVWr/7UpwNfDV73l5Nx/3hy+GX+P NIbbft/YDGMJPkIBAgDAerivg4R0tkQ6/mB/QZHE59amOlTuQnFXM7I+yBHeXg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZ7tc-00016R-6h; Thu, 24 Aug 2023 06:49:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZ7ta-00016B-QW for bug-guix@gnu.org; Thu, 24 Aug 2023 06:48:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qZ7ta-0004H9-Hx for bug-guix@gnu.org; Thu, 24 Aug 2023 06:48:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qZ7te-0007Mj-F1 for bug-guix@gnu.org; Thu, 24 Aug 2023 06:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65345: guix-pull --list-generations is slow Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 24 Aug 2023 10:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65345 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Olivier Dion , 65345@debbugs.gnu.org Received: via spool by 65345-submit@debbugs.gnu.org id=B65345.169287414028299 (code B ref 65345); Thu, 24 Aug 2023 10:49:02 +0000 Received: (at 65345) by debbugs.gnu.org; 24 Aug 2023 10:49:00 +0000 Received: from localhost ([127.0.0.1]:36230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZ7tb-0007MN-On for submit@debbugs.gnu.org; Thu, 24 Aug 2023 06:49:00 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:39328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZ7tZ-0007M1-Gg for 65345@debbugs.gnu.org; Thu, 24 Aug 2023 06:48:58 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-400e8ab9325so1842575e9.1 for <65345@debbugs.gnu.org>; Thu, 24 Aug 2023 03:48:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692874128; x=1693478928; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=GQI3QLqyRlj0HEhfk89lZSTzNqSeFYpvcmuYZSHh2GI=; b=sNmogpR8atU+sLvY+jxby5paWKi/cLEkkDPgW1foqdXVBn+6MH+7PZXmOtjsPQK+/c 3ABNuXYEuJs/Dz6T/JhOKvNlMz0XUuQdVZnMY4XTARiqrRhhkLpQ6SJ6kfQ2pR39fsxt Bg10SpA75Joz7GffeqdUI4q4moW0PLK1C/9e+4bOHr5GsOv4RTSBV5CljhgjUvDC8/2f F4N5Kf5cKtSQIzJI+RCDI18Hz9K+n/SZ4TzTRDFqvGXrl3+dmG2Q+FfR8K82eQb1F250 y74eFaXUlpbugvBGLkFw2PWJDdk6oSw8yrs9IRpZRrJmCbtHALvCRWc5P4czheSm7Yh7 3Aag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692874128; x=1693478928; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=GQI3QLqyRlj0HEhfk89lZSTzNqSeFYpvcmuYZSHh2GI=; b=KBxLNWssJQF/+RYzkCmO44rSspLlJzEOUj96VUji6ii6QPNg39yPkmh+f0AlzS+WAs x5jTzSKiJGc0ovukCzi1w6AhxY7CI7mrD8KQ4DXl9TwdQEoAnGiWQs83avvYOE8NH6eU qXQPOvZ4NZFVD1azB95hhw6A0+YUbtvbM4eAUPhZR1tR2N/9uQHcVNE5JMS0cbEmEtz0 C5nkl+9/PK7GZWyHAwyhVNW9KK3xhIDFakRVB6T1v+JZecRdI63n2Hfhx8jaw40Wr6cl LImiehvZIJQxNUNFs1zy62xak2M8Ohfm7TyAtsAIOt8O1gGkeejg3vPcWu8ucBvhODn9 8Bgg== X-Gm-Message-State: AOJu0YyPQCJFF0YSlNm5kxkfehiQKGb4M30yCYZexxBqIyXJaMwWUZRt oP8RLZZoRO71ds/+BBdAFQf3tEkC8Yc= X-Google-Smtp-Source: AGHT+IH+MZzP42SlwwIOB7Qj9hNG3HKgmIecE1Jkx0V1f/abZpth06UyoT6tD1fFQyf8u9FUbvvUWg== X-Received: by 2002:a05:600c:1c9c:b0:3f8:efad:31ee with SMTP id k28-20020a05600c1c9c00b003f8efad31eemr11975796wms.2.1692874127440; Thu, 24 Aug 2023 03:48:47 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id x21-20020a05600c21d500b003fef30b28b2sm2269261wmj.18.2023.08.24.03.48.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Aug 2023 03:48:47 -0700 (PDT) From: Simon Tournier In-Reply-To: <87cyzmwzul.fsf@laura> References: <87cyzmwzul.fsf@laura> Date: Thu, 24 Aug 2023 11:33:44 +0200 Message-ID: <86lee0zsw7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -5.07 X-Migadu-Queue-Id: 4B3E36A2F8 X-Migadu-Spam-Score: -5.07 X-TUID: oXHRw8n2JMkb Hi, On Wed, 16 Aug 2023 at 15:29, Olivier Dion wrote: > $ time guix pull --list-generations > /dev/null > real 0m58.702s > user 1m8.418s > sys 0m1.527s On my poor laptop, it=E2=80=99s 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