X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=performance-test%2FT01-dump-restore;fp=performance-test%2FT01-dump-restore;h=b2ff94001a3c15b91bfbb5a1e398df8940d72246;hb=047cd7a595f760a23415b9e38d7136325f28b114;hp=0000000000000000000000000000000000000000;hpb=f43b23f8e02dfd973a17e02d60f1e14e8b9da301;p=obsolete%2Fnotmuch-old diff --git a/performance-test/T01-dump-restore b/performance-test/T01-dump-restore new file mode 100755 index 00000000..b2ff9400 --- /dev/null +++ b/performance-test/T01-dump-restore @@ -0,0 +1,13 @@ +#!/bin/bash + +test_description='dump and restore' + +. ./perf-test-lib.sh + +time_start + +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' + +time_done