]> git.cworth.org Git - notmuch/blob - performance-test/M06-insert.sh
build: install notmuch-emacs-mua with absolute shebang
[notmuch] / performance-test / M06-insert.sh
1 #!/bin/bash
2
3 test_description='search'
4
5 . $(dirname "$0")/perf-test-lib.sh || exit 1
6
7 memory_start
8
9 mkdir -p "$MAIL_DIR"/{cur,new,tmp}
10
11 for count in {1..20}; do
12     generate_message "[file]=\"insert-$count\"" "[dir]='tmp/'"
13     memory_run "insert $count" "notmuch insert < $gen_msg_filename"
14 done
15
16 memory_done