summaryrefslogtreecommitdiffstats
path: root/performance-test/M00-new.sh
blob: 5858ab337fd8be17da7a64617fb3327971f45a0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

test_description='notmuch new'

. $(dirname "$0")/perf-test-lib.sh || exit 1

# ensure initial 'notmuch new' is run by memory_start
uncache_database

memory_start

# run 'notmuch new' a second time, to test different code paths
memory_run "notmuch new" "notmuch new"

memory_done