aboutsummaryrefslogtreecommitdiffhomepage
path: root/performance-test/00-new
diff options
context:
space:
mode:
Diffstat (limited to 'performance-test/00-new')
-rwxr-xr-xperformance-test/00-new19
1 files changed, 19 insertions, 0 deletions
diff --git a/performance-test/00-new b/performance-test/00-new
new file mode 100755
index 00000000..6f0b50c3
--- /dev/null
+++ b/performance-test/00-new
@@ -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