diff options
Diffstat (limited to 'performance-test/T01-dump-restore.sh')
-rwxr-xr-x | performance-test/T01-dump-restore.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/performance-test/T01-dump-restore.sh b/performance-test/T01-dump-restore.sh new file mode 100755 index 00000000..b2ff9400 --- /dev/null +++ b/performance-test/T01-dump-restore.sh @@ -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 |