[PATCH] performance-tests: tests for renamed/copied files in notmuch new
david at tethera.net
Fri Apr 5 09:59:44 PDT 2019
Tomi Ollila <tomi.ollila at iki.fi> 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 were faster -- my suggestion
> does quite a many more forks and execve's but abowe read loop 200 000
> read(2)'s and [lf]seek(2)s (and then 50 000 opens).
> well, probably no-one would notice difference...)
Your version is _much_ faster so I used it, along with the other
suggestions in the version I just pushed to master.
More information about the notmuch