]> git.notmuchmail.org Git - notmuch/blob - performance-test/M04-reply.sh
Merge branch 'release'
[notmuch] / performance-test / M04-reply.sh
1 #!/bin/bash
2
3 test_description='search'
4
5 . ./perf-test-lib.sh || exit 1
6
7 memory_start
8
9 for id in $(notmuch search --output=messages '*' | shuf -n 5); do
10     memory_run "reply $id" "notmuch reply \"$id\" 1>/dev/null"
11     memory_run "reply --format=json $id" "notmuch reply --format=json \"$id\" 1>/dev/null"
12     memory_run "reply --format=sexp $id" "notmuch reply --format=sexp \"$id\" 1>/dev/null"
13 done
14
15 memory_done