]> git.cworth.org Git - obsolete/notmuch-old/blobdiff - performance-test/00-new
perf-test: split basic into 00-new, 01-dump-restore, and 02-tag
[obsolete/notmuch-old] / performance-test / 00-new
diff --git a/performance-test/00-new b/performance-test/00-new
new file mode 100755 (executable)
index 0000000..6f0b50c
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+test_description='notmuch new'
+
+. ./perf-test-lib.sh
+
+uncache_database
+
+time_start
+
+time_run 'initial notmuch new' 'notmuch new'
+
+cache_database
+
+for i in $(seq 2 6); do
+    time_run "notmuch new #$i" 'notmuch new'
+done
+
+time_done