aboutsummaryrefslogtreecommitdiffhomepage
path: root/performance-test/M00-new
diff options
context:
space:
mode:
Diffstat (limited to 'performance-test/M00-new')
-rwxr-xr-xperformance-test/M00-new15
1 files changed, 15 insertions, 0 deletions
diff --git a/performance-test/M00-new b/performance-test/M00-new
new file mode 100755
index 00000000..99c3f520
--- /dev/null
+++ b/performance-test/M00-new
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+test_description='notmuch new'
+
+. ./perf-test-lib.sh
+
+# 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