]> git.notmuchmail.org Git - notmuch/blob - performance-test/T01-dump-restore.sh
Merge tag '0.29.2'
[notmuch] / performance-test / T01-dump-restore.sh
1 #!/usr/bin/env bash
2
3 test_description='dump and restore'
4
5 . $(dirname "$0")/perf-test-lib.sh || exit 1
6
7 time_start
8
9 time_run 'load nmbug tags' 'notmuch restore --accumulate < corpus.tags/nmbug.sup-dump'
10 time_run 'dump *' 'notmuch dump > tags.out'
11 time_run 'restore *' 'notmuch restore < tags.out'
12
13 time_done