Re: Test suite timing issues?

Subject:Re: Test suite timing issues?

Date:Sat, 12 Feb 2022 15:40:27 -0400

To:Tomi Ollila ,Michael J Gruber

Cc:notmuch@notmuchmail.org

From:David Bremner


David Bremner <david@tethera.net> writes:

> Tomi Ollila <tomi.ollila@iki.fi> 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

OK, I did 10 repetitions, and for the sequential version of the test
suit it is about 2% slower in elapsed time. I would expect it to have
more impact on slower disks (this SSD), but still not too bad of a
slowdown.

d

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: