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

David Bremner david at tethera.net
Tue Apr 2 05:45:46 PDT 2019


David Bremner <david at tethera.net> 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 a max slowdown of 1.4% (mean of 5 runs). I'd like to see similar
figures for spinning rust and older CPUs. This is with Xapian 1.4.11;
ideally so would other comparisons.

|         | Before |  After | slowdown % |
| initial | 517.69 | 522.13 |        0.9 |
| mv      | 313.16 | 317.57 |        1.4 |
| mv back | 315.21 | 316.73 |        0.5 |
| cp      | 170.36 | 171.08 |        0.4 |
#+TBLFM: $4=100*($3/$2-1);f1

Raw data is attached for the curious
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: trials.txt
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20190402/306050b7/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trials.org
Type: text/x-org
Size: 3915 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20190402/306050b7/attachment.bin>


More information about the notmuch mailing list