]> git.cworth.org Git - notmuch/blob - performance-test/T01-dump-restore.sh
doc: Don't install emacs docs when they are not built
[notmuch] / performance-test / T01-dump-restore.sh
1 #!/bin/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