]> git.notmuchmail.org Git - notmuch/blob - performance-test/basic
perf-test: unpack tags.
[notmuch] / performance-test / basic
1 #!/bin/bash
2
3 . ./perf-test-lib.sh
4
5 uncache_database
6
7 add_email_corpus
8
9 print_header
10
11 time_run 'initial notmuch new' 'notmuch new'
12
13 cache_database
14
15 time_run 'second notmuch new' 'notmuch new'
16 time_run 'dump *' 'notmuch dump > tags.out'
17 time_run 'restore *' 'notmuch restore < tags.out'
18 time_run 'tag * +new_tag' "notmuch tag +new_tag '*'"
19
20 time_done