From unknown Wed Jun 18 23:11:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#60808 <60808@debbugs.gnu.org> To: bug#60808 <60808@debbugs.gnu.org> Subject: Status: [PATCH 2/2] tests: reuse am_cv_filesystem_timestamp_resolution Reply-To: bug#60808 <60808@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:11:32 +0000 retitle 60808 [PATCH 2/2] tests: reuse am_cv_filesystem_timestamp_resolution reassign 60808 automake-patches submitter 60808 Mike Frysinger severity 60808 normal tag 60808 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 14 03:02:36 2023 Received: (at submit) by debbugs.gnu.org; 14 Jan 2023 08:02:36 +0000 Received: from localhost ([127.0.0.1]:53211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGbUp-00032P-Ow for submit@debbugs.gnu.org; Sat, 14 Jan 2023 03:02:36 -0500 Received: from lists.gnu.org ([209.51.188.17]:38896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGbUo-00032B-Cp for submit@debbugs.gnu.org; Sat, 14 Jan 2023 03:02:35 -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 ) id 1pGbUo-0008GW-8p for automake-patches@gnu.org; Sat, 14 Jan 2023 03:02:34 -0500 Received: from woodpecker.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4] helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pGbUm-0003sn-LJ for automake-patches@gnu.org; Sat, 14 Jan 2023 03:02:34 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id AE7AF340DCC; Sat, 14 Jan 2023 08:02:25 +0000 (UTC) From: Mike Frysinger To: automake-patches@gnu.org Subject: [PATCH 2/2] tests: reuse am_cv_filesystem_timestamp_resolution Date: Sat, 14 Jan 2023 03:02:15 -0500 Message-Id: <20230114080215.1034-2-vapier@gentoo.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230114080215.1034-1-vapier@gentoo.org> References: <20230114080215.1034-1-vapier@gentoo.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4; envelope-from=vapier@gentoo.org; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Rather than assume such coarse delays, re-use existing logic for probing the current filesystem resolution. This speeds up the testsuite significantly. On my system, it speeds -j1 up quite a lot -- by ~30%. While I didn't gather many samples to produce a statistically significant distribution, my runs seem to be fairly consistent with the values below with deviations of <1 minute. $ time make -j1 Before After real 33m17.182s real 23m33.557s user 12m12.145s user 12m12.763s sys 1m52.308s sys 1m52.853s $ time make -j32 Before After real 1m35.874s real 1m4.908s user 14m24.664s user 15m58.663s sys 2m9.297s sys 2m27.393s * configure.ac: Set test delays to am_cv_filesystem_timestamp_resolution. --- configure.ac | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index dcf2d95566a0..d3a67d5ffec9 100644 --- a/configure.ac +++ b/configure.ac @@ -172,15 +172,7 @@ result=no test "x$am_cv_prog_ln" = xln && result=yes AC_MSG_RESULT([$result]) -# The amount we should wait after modifying files depends on the platform. -# On Windows '95, '98 and ME, files modifications have 2-seconds -# granularity and can be up to 3 seconds in the future w.r.t. the -# system clock. When it is important to ensure one file is older -# than another we wait at least 5 seconds between creations. -case $build in - *-pc-msdosdjgpp) MODIFICATION_DELAY=5;; - *) MODIFICATION_DELAY=2;; -esac +MODIFICATION_DELAY=$am_cv_filesystem_timestamp_resolution AC_SUBST([MODIFICATION_DELAY]) ## ------------------------------------------- ## -- 2.39.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 14 16:52:49 2023 Received: (at 60808) by debbugs.gnu.org; 14 Jan 2023 21:52:49 +0000 Received: from localhost ([127.0.0.1]:55676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGoSH-0002P8-Hn for submit@debbugs.gnu.org; Sat, 14 Jan 2023 16:52:49 -0500 Received: from freefriends.org ([96.88.95.60]:60554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGoSG-0002Ou-4b for 60808@debbugs.gnu.org; Sat, 14 Jan 2023 16:52:48 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (freefriends.org [96.88.95.60]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 30ELqk7l008536 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 14 Jan 2023 14:52:47 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 30ELqiH1008535; Sat, 14 Jan 2023 14:52:44 -0700 Date: Sat, 14 Jan 2023 14:52:44 -0700 Message-Id: <202301142152.30ELqiH1008535@freefriends.org> From: Karl Berry To: vapier@gentoo.org Subject: Re: [bug#60808] [PATCH 2/2] tests: reuse am_cv_filesystem_timestamp_resolution In-Reply-To: <20230114080215.1034-2-vapier@gentoo.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60808 Cc: 60808@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) -case $build in - *-pc-msdosdjgpp) MODIFICATION_DELAY=5;; - *) MODIFICATION_DELAY=2;; -esac +MODIFICATION_DELAY=$am_cv_filesystem_timestamp_resolution Looks fantastic to me :). --thanks, karl. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 11:52:45 2023 Received: (at 60808) by debbugs.gnu.org; 14 Jul 2023 15:52:45 +0000 Received: from localhost ([127.0.0.1]:43283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKL65-0005Nq-Cn for submit@debbugs.gnu.org; Fri, 14 Jul 2023 11:52:45 -0400 Received: from frenzy.freefriends.org ([198.99.81.75]:52074 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKL63-0005Ng-TO for 60808@debbugs.gnu.org; Fri, 14 Jul 2023 11:52:44 -0400 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 36EFqfOf013991 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Jul 2023 09:52:41 -0600 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 36EFqfA4013990; Fri, 14 Jul 2023 09:52:41 -0600 Date: Fri, 14 Jul 2023 09:52:41 -0600 Message-Id: <202307141552.36EFqfA4013990@freefriends.org> From: Karl Berry To: vapier@gentoo.org Subject: Re: [bug#60808] [PATCH 2/2] tests: reuse am_cv_filesystem_timestamp_resolution In-Reply-To: <20230114080215.1034-2-vapier@gentoo.org> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 60808 Cc: 60808@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Mike, +MODIFICATION_DELAY=$am_cv_filesystem_timestamp_resolution I belatedly installed this patch. (I thought you already had.) Thanks! 2023-07-14 Mike Frysinger automake: set test delays to am_cv_filesystem_timestamp_resolution. This patch is from https://bugs.gnu.org/60808. * configure.ac: Set test delays to am_cv_filesystem_timestamp_resolution, instead of hardwiring 5sec on DJGPP and 2sec elsewhere. This speeds up test runs significantly, informally as much 30%. diff --git a/configure.ac b/configure.ac index f78ec5153..23a9f97f5 100644 --- a/configure.ac +++ b/configure.ac @@ -177,15 +177,7 @@ result=no test "x$am_cv_prog_ln" = xln && result=yes AC_MSG_RESULT([$result]) -# The amount we should wait after modifying files depends on the platform. -# On Windows '95, '98 and ME, files modifications have 2-seconds -# granularity and can be up to 3 seconds in the future w.r.t. the -# system clock. When it is important to ensure one file is older -# than another we wait at least 5 seconds between creations. -case $build in - *-pc-msdosdjgpp) MODIFICATION_DELAY=5;; - *) MODIFICATION_DELAY=2;; -esac +MODIFICATION_DELAY=$am_cv_filesystem_timestamp_resolution AC_SUBST([MODIFICATION_DELAY]) ## ------------------------------------------- ## compile finished at Fri Jul 14 08:45:18 2023 From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 12:20:15 2023 Received: (at 60808-done) by debbugs.gnu.org; 14 Jul 2023 16:20:15 +0000 Received: from localhost ([127.0.0.1]:43324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKLWh-00067F-0B for submit@debbugs.gnu.org; Fri, 14 Jul 2023 12:20:15 -0400 Received: from frenzy.freefriends.org ([198.99.81.75]:52534 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKLWe-000676-GK for 60808-done@debbugs.gnu.org; Fri, 14 Jul 2023 12:20:13 -0400 X-Envelope-From: karl@freefriends.org X-Envelope-To: <60808-done@debbugs.gnu.org> Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 36EGKBci018652 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <60808-done@debbugs.gnu.org>; Fri, 14 Jul 2023 10:20:11 -0600 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 36EGKBJL018651; Fri, 14 Jul 2023 10:20:11 -0600 Date: Fri, 14 Jul 2023 10:20:11 -0600 Message-Id: <202307141620.36EGKBJL018651@freefriends.org> From: Karl Berry To: 60808-done@debbugs.gnu.org Subject: X-Spam-Score: 4.3 (++++) 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: Content analysis details: (4.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 2.3 EMPTY_MESSAGE Message appears to have no textual parts 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: 60808-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.3 (+++) 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: Content analysis details: (3.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 2.3 EMPTY_MESSAGE Message appears to have no textual parts 2.0 BLANK_SUBJECT Subject is present but empty -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager From unknown Wed Jun 18 23:11:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 12 Aug 2023 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator