[Patch v2 11/11] perf-test: use nmbug tags in dump-restore tests

david at tethera.net david at tethera.net
Wed Dec 5 19:01:48 PST 2012


From: David Bremner <bremner at debian.org>

This makes the tag set a bit less trivial.

Note that if you use the small corpus, this is not so interesting (and
is also a bit noisy) since the messages will not be found. In the
future this could be checked for.
---
 performance-test/01-dump-restore |    1 +
 1 file changed, 1 insertion(+)

diff --git a/performance-test/01-dump-restore b/performance-test/01-dump-restore
index 09444e3..7bcf821 100755
--- a/performance-test/01-dump-restore
+++ b/performance-test/01-dump-restore
@@ -9,6 +9,7 @@ add_email_corpus
 print_header
 
 time_run 'notmuch new' 'notmuch new'
+time_run 'load nmbug tags' 'notmuch restore --accumulate < corpus.tags/nmbug.sup-dump'
 time_run 'dump *' 'notmuch dump > tags.out'
 time_run 'restore *' 'notmuch restore < tags.out'
 
-- 
1.7.10.4



More information about the notmuch mailing list