]> git.notmuchmail.org Git - notmuch/blobdiff - performance-test/M00-new.sh
perf-test: rename memory tests
[notmuch] / performance-test / M00-new.sh
diff --git a/performance-test/M00-new.sh b/performance-test/M00-new.sh
new file mode 100755 (executable)
index 0000000..99c3f52
--- /dev/null
@@ -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