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