From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sE4NEpTSB2LrngAAgWs5BA (envelope-from ) for ; Sat, 12 Feb 2022 16:30:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mEy7CpTSB2KfywAAG6o9tA (envelope-from ) for ; Sat, 12 Feb 2022 16:30:28 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 98E1726487 for ; Sat, 12 Feb 2022 16:30:27 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id AD12F5F702; Sat, 12 Feb 2022 15:30:25 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id D82C15F6C3 for ; Sat, 12 Feb 2022 15:30:23 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 00E515FBD2; Sat, 12 Feb 2022 10:30:22 -0500 (EST) Received: (nullmailer pid 2033402 invoked by uid 1000); Sat, 12 Feb 2022 15:29:59 -0000 From: David Bremner To: Tomi Ollila , Michael J Gruber Subject: Re: Test suite timing issues? In-Reply-To: References: <164458773197.3086.16103597141743611268.git@grubix.eu> <87k0e1x87f.fsf@tethera.net> <164467277576.6467.13919733764427871872.git@grubix.eu> Date: Sat, 12 Feb 2022 11:29:59 -0400 Message-ID: <874k54xfuw.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: LDRIP6TWII4JD3BLNBUGUQFOZ5MN5GRA X-Message-ID-Hash: LDRIP6TWII4JD3BLNBUGUQFOZ5MN5GRA X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: notmuch@notmuchmail.org X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644679827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=26ectdt8GyEV9xgEc5FIBTgIbUMwovBk4fnXF/SjPFM=; b=A4zoQVQM2GDcmdyuxgTV7/YlsczymzRe2XcMtcQj5+HoJlOvMogbOIsL+UzToS4M07q+b+ 21F7kC7yR4sJU11pp4Af1/ZWQ9ThHaM8cEnJZUJb091Okv7FOBlMGzdjfDSSczFWbZDJ9x sKYRbOniaUdS9oZuMGYgXvJ1EmLSXRYuIrrqxZSkKyEosMh7elWpzZjBgwr+15DW5+6tkH fF8iIhXzhWH2bOWgenswWk7a2cOrVwcZ4FBrywlqlwRaJ9PS563zcUja4XUnYXrCo83JE9 HwfN07ulLQrnkufiFsJurhNV/7Osr2wVP5b7Dbzi+SHngM7RQqcdXFj7F6Albw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644679827; a=rsa-sha256; cv=none; b=evIOCx3+Qmi8ZIJ2sTT0BybplHcYEWy078GSpq+FzjVqJyFxomzk75lS38zTSzypSxhAW7 L84zRNboB12HrmoxIzWnJovsc5AdL6MaGeMd8itguomiLw2WuFOCNkIphU2YBYpo7irbJF XmI9T+aLUOpw1qAt9Qwo0H0noXagOPkwbSqiN39nexuQ+Q0RbKr7FRtmnTWUtfFujjs8ga vY0veNxNqiXVo+cogn367LKzeGRSmDysaIE/APTWrlK2FO/jDYXoz0FXAqCcsUgv/kPfkp tnMyAcRyDDZKi89FDX0gG9hyIGyyyeztj9tMQcV3cAIxSQflRZZLxGA64VMPEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 98E1726487 X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: kMYfaPuFIAml Tomi Ollila writes: > On Sat, Feb 12 2022, Michael J. Gruber wrote: > > Only thing that came into mind are directory timestamps... if directory > (m)time is same as before notmuch will not scan it for files... > > ... following that if the granularity of directory timestamp were 1 second, > then it could easily happen than first one new message is not seen, and > next time there is one extra message to be see... What do you think about adding --full-scan to the notmuch-new invocation in add_message? It doesn't make any tests fail and is about the same speed. I need to do a few more trials, but first time through it was actually faster (!), maybe because the cache is hot