Received: (at 80235) by debbugs.gnu.org; 23 Jan 2026 17:05:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 23 12:05:03 2026
Received: from localhost ([127.0.0.1]:37971 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vjKal-0003ij-0d
for submit <at> debbugs.gnu.org; Fri, 23 Jan 2026 12:05:03 -0500
Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:45415)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <pkryger@HIDDEN>) id 1vjKaj-0003iE-3b
for 80235 <at> debbugs.gnu.org; Fri, 23 Jan 2026 12:05:01 -0500
Received: by mail-wr1-x42b.google.com with SMTP id
ffacd0b85a97d-432d28870ddso1337645f8f.3
for <80235 <at> debbugs.gnu.org>; Fri, 23 Jan 2026 09:05:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1769187900; x=1769792700; darn=debbugs.gnu.org;
h=mime-version:user-agent:message-id:date:references:in-reply-to
:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=JxEXQzob0Z+ib1a4Fa3F8RE+rUeA7w5J01O1co9Xpq0=;
b=dFc69/n7wZkLwxlMcbcAwoSggZ2uHHrAc2xGSfDfK95ND0JbJd0ULTFfYpH8ug01NQ
mzdNss/VI1V3nPTJdHMrRa5K9hZTctuy1nEOkdzHtRMHKFgLsAOIwMbNwnfI4vpAZCMX
9vyfNDWDbCk7V+bhbPSdccs93iPQBKZOvg4Q/l/Xgibf72WsDYjW3ytZHrQAlhDq2qmc
UPGczLpRBfrq/FVZaJyuwO1fVVFqL1KmtrwsA5bUNPrXsUxOgaw1Ub7tpa9qVS0i3NDg
lu7nj2ybbtNlz0kTOv+TyhsSNKsV1mo30nKjK0Zj7oAWKxQwV8Zzfe212YZw2fIFYmT2
b6gA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1769187900; x=1769792700;
h=mime-version:user-agent:message-id:date:references:in-reply-to
:subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject
:date:message-id:reply-to;
bh=JxEXQzob0Z+ib1a4Fa3F8RE+rUeA7w5J01O1co9Xpq0=;
b=DK6dWYi1d3NaTIOg2kKHQc4okCMJLj6bUoiVZROCrAj6aFbgQDPUkL17aAojzgLun0
iYfb1Tz2W/ph2QdudszBa+HhB1hED7Z+5Wgzl8Gqw7APaw2F/4ugvF1uZLNhTv5jBqPN
4d0xCYqBjPrxqv1g/VwDaFZ3RpgiE45MqPNIKeiyyg0oA7eLxhRGmU/kU4s7faDWqvxV
eI/S08Qn6v9XSzq3NFYcTH9G0EnPb58nsfces+mGAwdnpJAlwxiJiCBbC4JADtCMC8wo
kCgHPY/39k11qskheE0D3pjwTiY2u2F6jBTSp/kzBHYDXlmNk1d3InIX+iwiIjjqqwjI
LAgg==
X-Gm-Message-State: AOJu0Yx9/DqY6msY1He1Sp4Scf+2WaXeM16gbOaX8aAoZp6uDstvkVz2
oy9OimvD2yisnvHJrCpUJilE/oiBhZMkWHwfH1anuItgcmw/12EQFBBCxuck1Q==
X-Gm-Gg: AZuq6aLGEq0UArFJRDI+EbSt5O0G0vytr3wbclBp0wt47v1iJQwFLxwo0pOYMma96Dc
otzzl19sSmcYFlo9v4vAcTnLMCh9zf5G6dxLVwroq4Gfu02UCAeiPIxYczmi2uSSRFCQnYEaAEu
XiFTjQfeM9jvahisNo+7OtIfJfw/QXj0hzNUvZoaNNtAI2RaWoNFo83PNqaIVLFGAWSa6H/ymb5
dri/DCB+grJSwWx5G39B9N7RHTiMB/hctVcDCHYSNQc0Ux4w9V5prlHkHi83GTG3MgjDkElCSKK
3sdsnt9EpYix2PRqZZoDtTjDfzHbwt+77m453iNS07aeQfUTJE/JcdDFB2SsF0K8XlVBuAe+k7U
iUccdV0d8fPBQtHjY6mDkCmFwojD863JB6UuxiYVjdbtsZZvUR7X8RTivOieyajLMxzb78PoEtm
FM8IJwWgaZFBr1x29pyrlckMybAR22FnAy1E5av5zOUWqrpwC9gzPnRtWL
X-Received: by 2002:a05:6000:4012:b0:435:af89:11be with SMTP id
ffacd0b85a97d-435b93073e0mr3993342f8f.15.1769187899261;
Fri, 23 Jan 2026 09:04:59 -0800 (PST)
Received: from Przemyslaws-MacBook-Air.local
([2a00:23c8:b1c:3801:210f:8d5d:1f5d:63c1])
by smtp.gmail.com with ESMTPSA id
ffacd0b85a97d-435b1c30293sm8750113f8f.19.2026.01.23.09.04.57
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 23 Jan 2026 09:04:58 -0800 (PST)
From: =?utf-8?Q?Przemys=C5=82aw_Kryger?= <pkryger@HIDDEN>
To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= <mattias.engdegard@HIDDEN>
Subject: Re: bug#80235: package-vc-tests slow
In-Reply-To: <2FD2C5E9-E6CC-4D02-9570-88B679ED8D5C@HIDDEN>
References: <2FD2C5E9-E6CC-4D02-9570-88B679ED8D5C@HIDDEN>
Date: Fri, 23 Jan 2026 17:04:57 +0000
Message-ID: <m2v7gs45vq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 80235
Cc: Philip Kaludercic <philipk@HIDDEN>, 80235 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mattias Engdeg=C3=A5rd <mattias.engdegard@HIDDEN> writes:
> The package-vc-tests are quite slow, now even slower than the
> tramp-tests (when skipping :expensive-test as in 'make check'). Around
> a minute of run time is not reasonable.
I agree that a minute is too much. It takes ~20s on macOS when I run
tests with:
env SELECTOR=3D'(not (or (tag :expensive-test) (tag :unstable)))' make -C=
test package-vc-tests
When executed these tests on a GitHub runner I have seen that it takes
around 70s to run all 99 tests on Linux, 90s on macOS, and over 7minutes
on Windows. What OS are you executing on?
> The timings for a typical run (attached) indicate that there is no
> single culprit; the distribution is fairly flat. Particularly worrying
> is that even tests that are skipped take an appreciable amount of
> time, which may be a hint that something is amiss.
>> Particularly worrying is that even tests that are skipped take an
>> appreciable amount of time, which may be a hint that something is amiss.
>
> This part is caused by the fact that `skip-unless` forms are evaluated
> after a considerable amount of test set-up has been performed, the
> `package-vc-tests-create-repository` in particular, and then the
> tear-down costs are added on top.
The `skip-unless` affects only 4 tests out of 45, so potential savings
are around 10% (assuming flat distribution).
> Could you help me understand what takes so long, and how to make them
> faster?
My intuition tells me that the reason for slow down is what you have
found. I haven't measured it though. Each test creates a git
repository with a test package (git init, about half a dozen of file
templates updates, and a couple of git commits). Then installs the test
package (git clone in the background and some lisp on for scraping and
package metadata). At the end removes all temporary file. It's a long
shot but perhaps there's something lurking in your git configuration
that slows these operations down?
Perhaps some marking more tests as expensive could help?
Alternatively, if the repository creation is what takes most of the
time, then it might be possible to create each of test package
repository only once per test run.
> It's probably possible to avoid that detour but let's see what else
> can be saved. Meanwhile, I moved package-vc-tests to the 'slow'
> category in the Makefile so that it starts before most of the other
> ones; this will help when running tests in parallel.
This is a good idea. I have also developed patch to avoid creation,
installation, and tear down for skipped tests. Please see below.
--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
filename=0001-Ensure-skipped-package-vc-tests-are-not-installed.patch
Content-Description: patch
From 2e7c3af5426e5a4f2443f9af9829140b0fba9f72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Przemys=C5=82aw=20Kryger?= <pkryger@HIDDEN>
Date: Fri, 23 Jan 2026 16:36:37 +0000
Subject: [PATCH] Ensure skipped package-vc-tests are not installed
* test/lisp/emacs-lisp/package-vc-tests.el (package-vc-test-deftest):
Call `packgage-vc-tests-with-installed' only if the test is not
skipped.
---
test/lisp/emacs-lisp/package-vc-tests.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/test/lisp/emacs-lisp/package-vc-tests.el b/test/lisp/emacs-lisp/package-vc-tests.el
index 150d5c4a6e0..aa9a57fd0e1 100644
--- a/test/lisp/emacs-lisp/package-vc-tests.el
+++ b/test/lisp/emacs-lisp/package-vc-tests.el
@@ -678,6 +678,7 @@ package-vc-test-deftest
(error "`package-vc' tests first argument has to be a symbol"))
(let ((file (or (macroexp-file-name) buffer-file-name))
(tests '()) (fn (gensym))
+ (pkg-arg (car args))
(tags (plist-get (cdr-safe args) :tags)))
(dolist (pkg (package-vc-tests-packages))
(let ((name (intern (format "package-vc-tests-%s/%s" name pkg))))
@@ -690,14 +691,14 @@ package-vc-test-deftest
:file-name ,file
:body
(lambda ()
- (package-vc-tests-with-installed
- ',pkg (funcall ,fn ',pkg))
+ (funcall ,fn ',pkg)
nil)))
tests)))
- `(let ((,fn (lambda (,(car args))
+ `(let ((,fn (lambda (,pkg-arg)
(cl-macrolet ((skip-when (form) `(ert--skip-when ,form))
(skip-unless (form) `(ert--skip-unless ,form)))
- (lambda () ,@body)))))
+ (package-vc-tests-with-installed ,pkg-arg
+ (lambda () ,@body))))))
,@tests)))
(package-vc-test-deftest install-post-conditions (pkg)
--
2.52.0
--=-=-=--
bug-gnu-emacs@HIDDEN:bug#80235; Package emacs.
Full text available.Received: (at 80235) by debbugs.gnu.org; 23 Jan 2026 15:46:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 23 10:46:13 2026 Received: from localhost ([127.0.0.1]:36619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vjJMS-0000cY-R1 for submit <at> debbugs.gnu.org; Fri, 23 Jan 2026 10:46:13 -0500 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:57821) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <mattias.engdegard@HIDDEN>) id 1vjJMP-0000c6-Sa for 80235 <at> debbugs.gnu.org; Fri, 23 Jan 2026 10:46:11 -0500 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-59dcdf60427so2949727e87.3 for <80235 <at> debbugs.gnu.org>; Fri, 23 Jan 2026 07:46:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769183168; x=1769787968; darn=debbugs.gnu.org; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=A8AYwYof9KSPoElsaf987mK6LHWL3zxRceb4eZrm3n8=; b=J/nInyZ2b13oR4fzoLOiOlYS0W2S7ZHQ3PhoE361euh5B/clVx8Y8wYDDp+Js2xDnf KvxPXNFWq/Z/aRslGlEj1q3ojp5JOeKowtzbCPvU7B80Y9CICBb3kDLFb23WvdG+XKUS NtyNPz6Uovr4DpucSvj9tSD3IcfkfCH6eWRHwsU0Eqz4CAbnvwMtH0I8I8JT5A8v0VMo 9idQxvdyrsiI0zqdHY+PrxgZthcqRkt36+sWj48/X1MuLp4kbeiwfb6IgKk8ctBlf+Nl fN++nLWGbEGT9mAA+ICLA0a4bDHASzKFIPHJaihFVEbsSYNuOrHZsCGjdUbeEG/wdz72 WJmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769183168; x=1769787968; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=A8AYwYof9KSPoElsaf987mK6LHWL3zxRceb4eZrm3n8=; b=qsLEUpcxxFf1DJOJQUhKGQo26LeXej3FoTm+Qh9wm+eBms8hUcmYnaHYVEiTxp0KHu 2Gd7dwvirTw4oKsvWjzIa5m4cEE2EDfoiiwqM6Eu0veOcxOpbZUpUhDeEKtTAx42DGun x0IWxJpvuR5B5HTN3QJGN7J+Erftxxf/4AgQqAHebpyDnJFZHZbpxbx3qZwUw/1HkBdk 0VFI6cHxz64hXZZjcoHJ66ZDnEo5Difp+xM5wL3sy5BkaFdrdcM82lO5+ZYdG1rSYL0i 1XFIjq1mhAVn3XxXZdyGVi6DGHh3toGZQHwv/xX/yKQ8PV4pAA6k6B/ZpszEimu1KW6B Ge1w== X-Gm-Message-State: AOJu0YxHXV3NzhVNMSB608xosukvEq2Jf0dBBzVo6evhvJw1SBGmzLnT f2CA1E/LkOHVAOPHNep5ZG3hSpZnh4VZfSCjawTIvh9Jg8R+v8B0An0cpzWQTw== X-Gm-Gg: AZuq6aJCyZc5RG7qZjQcaKdHOAda3bYuPcYUM7x6ev3fTrlsL1FWtiOKMg2A7PS+VJI h6LIuLVEx5d1W+4aLT5LaH65tlQiv4pmOTSbJtbrzTssTSz53Z3VWmxpi5NlIMozwWwUlBGYMn0 ardESLilalBmxWgmass+SveltQi/fuhG8IMRcAux/KTBsJ8Ssf+I0FbU969tJS8c/pDXwLSbmTV Ddsba59kgB8GZFlVtCjDgLaxUorOlitec1XN/ncui2Rph3p0SZZrX1wtLnS0V5Ry6NIJb3hKI2u eQ/kF1hPPdtBDcJ9gqehEcVnEsTHIk8v7BysUzR2DDg7YZfu5hT0FIwPX2fS3w+lnIPwW2LFY8F gSJ6VWHQrS/w9O3mCZSMYkspOpdZuMoFCHbAIlA3LMj1KKZ9HqSuEP7mWl3DfyT6xmTWi9F7GS/ g6i0YyqYG2Xz5PQo6CfNUWjStZGNs/MtJTcMnTbv7H4TspVZfZmC3WyVR+Tq4AHbnCa0FljLIAo 5KH X-Received: by 2002:a05:6512:63d3:20b0:59d:e5dc:8815 with SMTP id 2adb3069b0e04-59de5dc8835mr799940e87.22.1769183167329; Fri, 23 Jan 2026 07:46:07 -0800 (PST) Received: from smtpclient.apple (c188-150-186-155.bredband.tele2.se. [188.150.186.155]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-59de45b28cbsm747747e87.0.2026.01.23.07.46.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Jan 2026 07:46:07 -0800 (PST) From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= <mattias.engdegard@HIDDEN> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Subject: bug#80235: package-vc-tests slow Message-Id: <7B12B37F-5B64-48CD-865F-5E90EBFF1CB5@HIDDEN> Date: Fri, 23 Jan 2026 16:46:06 +0100 To: 80235 <at> debbugs.gnu.org X-Mailer: Apple Mail (2.3654.120.0.1.15) X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 80235 Cc: =?utf-8?Q?Przemys=C5=82aw_Kryger?= <pkryger@HIDDEN>, Philip Kaludercic <philipk@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) > Particularly worrying is that even tests that are skipped take an > appreciable amount of time, which may be a hint that something is = amiss. This part is caused by the fact that `skip-unless` forms are evaluated = after a considerable amount of test set-up has been performed, the = `package-vc-tests-create-repository` in particular, and then the = tear-down costs are added on top. It's probably possible to avoid that detour but let's see what else can = be saved. Meanwhile, I moved package-vc-tests to the 'slow' category in = the Makefile so that it starts before most of the other ones; this will = help when running tests in parallel.
bug-gnu-emacs@HIDDEN:bug#80235; Package emacs.
Full text available.Received: (at submit) by debbugs.gnu.org; 21 Jan 2026 17:24:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 21 12:24:07 2026 Received: from localhost ([127.0.0.1]:56973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vibw6-0004vI-La for submit <at> debbugs.gnu.org; Wed, 21 Jan 2026 12:24:07 -0500 Received: from lists.gnu.org ([2001:470:142::17]:34732) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mattias.engdegard@HIDDEN>) id 1vibw3-0004uA-CR for submit <at> debbugs.gnu.org; Wed, 21 Jan 2026 12:24:04 -0500 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 <mattias.engdegard@HIDDEN>) id 1vibvx-0002Fu-KZ for bug-gnu-emacs@HIDDEN; Wed, 21 Jan 2026 12:23:57 -0500 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <mattias.engdegard@HIDDEN>) id 1vibvw-0005ku-00 for bug-gnu-emacs@HIDDEN; Wed, 21 Jan 2026 12:23:57 -0500 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-59b834e3d64so9839543e87.2 for <bug-gnu-emacs@HIDDEN>; Wed, 21 Jan 2026 09:23:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769016233; x=1769621033; darn=gnu.org; h=to:cc:date:message-id:subject:mime-version:from:sender:from:to:cc :subject:date:message-id:reply-to; bh=titxBuK0qSXf+YT24VwGjtI7jNiEw42ofQLqJJeVu/A=; b=KTzM026LjUzefKN+HfuB+J0+ul8IfzSXu7wwK1qP4u5ru3yNN7RgeOrbpQ5M0aeX63 6qZEtNpHJ4T+sm5afiUmv2blyzuwRqvKoSeL5krZVi98LvsDtmh9A4nlocDcKqV/37fV y2TOETPwYivFEo5YBXi91dWLikf907d32kxSoO6Js9SAMoY0wDBvHBY/lifzGufXZWtg vftGU6HEGlmTPGZGC/YN+g+L41yE+ugdIVODzIAeVa2NBi6MQdOp5Ecu38D/ieUbT8dP Lw6iJnLMDTmbHAh6f038NcqkJmvCXGTaLR915W+jQcYFLISH1fSWdmILKeHNicPr23RC tWLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769016233; x=1769621033; h=to:cc:date:message-id:subject:mime-version:from:sender:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=titxBuK0qSXf+YT24VwGjtI7jNiEw42ofQLqJJeVu/A=; b=EKey9cVyjfG241501vWnn8013paIAWkbk4YSc7uxHVbMU7FTA7/7Q1QGjpUsTuq+kR BQq7Mj0xkCxWOFQNJ87qpPr0DkLJEgEH1wi9o8zGAP0VD4y8vbAUJp/rTdx31L239EDb efbjaYBij0Z5WzXt+FbxsoLYl2njnmdR5r+moqIjMipDyEIhxETSBW+fWB7CxkyPgupP ZAsAtSG1WGqQr2zYno5P4lTysADWCzL1iwU7HtDPvKdU6O/7Qmgf69PQOx/FCav/k6qU MZD0NDO62fOiB2LHWdfikPnP8a1CzktKfMC5d8YqG5MDo2FOtAC1RuxP4C5rSviflHjE ox9w== X-Gm-Message-State: AOJu0Yzun3eWAzPoLvx00lDc8DL7B9iv4LnIrAemKWLxY2x6XCmqWrF+ 6nInaJvLL6c1wyNXr9IPe75jynzwanbyrSutw7NyO+I47CJNgfX2XOQxvgBFXg== X-Gm-Gg: AZuq6aKHRm+iaQn9stUAL1GWFBv5HRY6n0JHb2Z5+DwWPPLa+Llsl9uuoluZjmJEwqP WnN0MZh/6+I+OC8dUkn/syfVcgyuojH2RYhpTTStRpTNrtwmT3tVbACNXnQo5Zd304opERH4dBo LfvZhDHJZMTX0Tfg0eZnvAwvCogJP05ii/8kNhzlsW4Mog5QNoEXg/Qxx0hJBckLLIbkdmRyHo5 jGLBBVJ0ubinEQHi3Uv9ZmLqJMShnahC3VA0LUoX4HzlU1BeLygzoWMNzdfuByyTMVOR4xvGT5t pF5+aGp7a9g2qi8XAH/hgP95DIw74FuQtw8TCkvmbqTm44Wah6hQHNpL6Lm6go2I/sLd4p+TKGY yyimV8YgH/7MuBCf+g9mQqDawD+ZVVR37vzqC/ZY99oLCFv3Qb++hKXVVREikQxBKzSju2VfG1z gi0yogc8fvxkwSXrAakKn8tY6i4ueY6gpgyLq+z7m/DNIAzzRehodkYUJAzkHJ9+SABYrgkINxy DBBaMd1tk3H+AI= X-Received: by 2002:a05:6512:800e:20b0:59b:b037:1619 with SMTP id 2adb3069b0e04-59bb03716d8mr3873331e87.37.1769016233049; Wed, 21 Jan 2026 09:23:53 -0800 (PST) Received: from smtpclient.apple (c188-150-186-155.bredband.tele2.se. [188.150.186.155]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-38384d3da7fsm48442781fa.2.2026.01.21.09.23.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jan 2026 09:23:52 -0800 (PST) From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= <mattias.engdegard@HIDDEN> Content-Type: multipart/mixed; boundary="Apple-Mail=_37E5CE64-901C-403F-9D47-29FCA9D38ACC" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Subject: package-vc-tests slow Message-Id: <2FD2C5E9-E6CC-4D02-9570-88B679ED8D5C@HIDDEN> Date: Wed, 21 Jan 2026 18:23:51 +0100 To: Emacs Bug Report <bug-gnu-emacs@HIDDEN> X-Mailer: Apple Mail (2.3654.120.0.1.15) Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=mattias.engdegard@HIDDEN; helo=mail-lf1-x12d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The package-vc-tests are quite slow, now even slower than the tramp-tests (when skipping :expensive-test as in 'make check'). Around a minute of run time is not reasonable. The timings for a typical run (attached) indicate that there is no single culprit; the distribution is fairly flat. Particularly worrying is that even tests that are skipped take an appreciable amount [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mattias.engdegard[at]gmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] X-Debbugs-Envelope-To: submit Cc: =?utf-8?Q?Przemys=C5=82aw_Kryger?= <pkryger@HIDDEN>, Philip Kaludercic <philipk@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) --Apple-Mail=_37E5CE64-901C-403F-9D47-29FCA9D38ACC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii The package-vc-tests are quite slow, now even slower than the = tramp-tests (when skipping :expensive-test as in 'make check'). Around a = minute of run time is not reasonable. The timings for a typical run (attached) indicate that there is no = single culprit; the distribution is fairly flat. Particularly worrying = is that even tests that are skipped take an appreciable amount of time, = which may be a hint that something is amiss. Could you help me understand what takes so long, and how to make them = faster? --Apple-Mail=_37E5CE64-901C-403F-9D47-29FCA9D38ACC Content-Disposition: attachment; filename=package-vc-tests.txt Content-Type: text/plain; x-unix-mode=0644; name="package-vc-tests.txt" Content-Transfer-Encoding: 7bit time cumul res test ------------------------------------------------------------ 2.074 2.074 pass upgrade-after-require/test-package-three 2.038 4.111 pass upgrade-after-require/test-package-eight 2.010 6.121 pass upgrade-after-require/test-package-seven 1.985 8.106 pass upgrade-after-require/test-package-five 1.918 10.024 pass upgrade-after-require/test-package-two 1.889 11.913 pass upgrade-after-require/test-package-one 1.885 13.799 pass upgrade-after-require/test-package-nine 1.454 15.252 pass upgrade-after-require/test-package-six 1.396 16.649 pass upgrade-after-require/test-package-four 1.379 18.028 pass install-post-conditions/test-package-eight 1.277 19.306 pass rebuild-after-require/test-package-three 1.259 20.565 pass rebuild-after-require/test-package-seven 1.245 21.810 pass rebuild-after-require/test-package-eight 1.242 23.052 pass require/test-package-seven 1.212 24.264 pass rebuild-after-require/test-package-five 1.207 25.471 pass install-post-conditions/test-package-two 1.207 26.677 pass install-post-conditions/test-package-seven 1.183 27.861 pass rebuild-after-require/test-package-nine 1.180 29.041 pass install-post-conditions/test-package-three 1.176 30.217 pass rebuild-after-require/test-package-two 1.133 31.349 pass require/test-package-three 1.123 32.472 pass rebuild-after-require/test-package-one 1.117 33.589 pass install-post-conditions/test-package-five 1.102 34.691 pass require/test-package-two 1.101 35.792 pass install-post-conditions/test-package-nine 1.092 36.885 pass require/test-package-eight 1.089 37.974 pass install-post-conditions/test-package-one 1.085 39.059 pass require/test-package-five 1.083 40.141 pass require/test-package-one 1.072 41.213 pass require/test-package-nine 0.933 42.146 pass install-post-conditions/test-package-six 0.842 42.988 pass require/test-package-six 0.818 43.806 skip pkg-spec-make-shell-command/test-package-eight 0.816 44.622 pass install-post-conditions/test-package-four 0.802 45.424 pass pkg-spec-make-shell-command/test-package-five 0.795 46.219 pass pkg-spec-make-shell-command/test-package-seven 0.787 47.006 pass rebuild-after-require/test-package-six 0.771 47.777 pass require/test-package-four 0.766 48.543 pass pkg-spec-make-shell-command/test-package-nine 0.763 49.306 skip pkg-spec-make-shell-command/test-package-three 0.738 50.044 pass pkg-spec-make-shell-command/test-package-one 0.721 50.765 pass pkg-spec-make-shell-command/test-package-two 0.634 51.399 pass rebuild-after-require/test-package-four 0.530 51.929 skip pkg-spec-make-shell-command/test-package-four 0.527 52.457 skip pkg-spec-make-shell-command/test-package-six --Apple-Mail=_37E5CE64-901C-403F-9D47-29FCA9D38ACC--
Mattias Engdegård <mattias.engdegard@HIDDEN>:bug-gnu-emacs@HIDDEN.
Full text available.bug-gnu-emacs@HIDDEN:bug#80235; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.