Re: [PATCH] performance-tests: tests for renamed/copied files in notmuch new

2019-04-05 Thread David Bremner
Tomi Ollila writes: >> +done < <(find mail -type f ! -path 'mail/.notmuch/*' ) > > // this comment was written last in this email, just for fun >;) // > > find mail -type f ! -path 'mail/.notmuch/*' | sed -n '1~4 p' > $manifest > count=`wc $manifest` > > (I'd be interested which one of the above

Re: [PATCH] performance-tests: tests for renamed/copied files in notmuch new

2019-04-03 Thread Tomi Ollila
On Tue, Apr 02 2019, David Bremner wrote: > Several people have observed that this is surprisingly slow, and we > have a proposal to add tagging into this code path, so we want to make > sure it doesn't imply too much of a performance hit. > --- > performance-test/T00-new.sh | 30

Re: [PATCH] performance-tests: tests for renamed/copied files in notmuch new

2019-04-02 Thread David Bremner
David Bremner writes: > Several people have observed that this is surprisingly slow, and we > have a proposal to add tagging into this code path, so we want to make > sure it doesn't imply too much of a performance hit. On my SSD / 8th gen i7 / 32G RAM based debian workstation it seems OK, with

[PATCH] performance-tests: tests for renamed/copied files in notmuch new

2019-04-02 Thread David Bremner
Several people have observed that this is surprisingly slow, and we have a proposal to add tagging into this code path, so we want to make sure it doesn't imply too much of a performance hit. --- performance-test/T00-new.sh | 30 ++ 1 file changed, 30 insertions(+) I