]> git.cworth.org Git - obsolete/notmuch-old/blobdiff - performance-test/02-tag
perf-test: split basic into 00-new, 01-dump-restore, and 02-tag
[obsolete/notmuch-old] / performance-test / 02-tag
diff --git a/performance-test/02-tag b/performance-test/02-tag
new file mode 100755 (executable)
index 0000000..78ceccc
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+test_description='tagging'
+
+. ./perf-test-lib.sh
+
+time_start
+
+time_run 'tag * +new_tag' "notmuch tag +new_tag '*'"
+time_run 'tag * +existing_tag' "notmuch tag +new_tag '*'"
+time_run 'tag * -existing_tag' "notmuch tag -new_tag '*'"
+time_run 'tag * -missing_tag' "notmuch tag -new_tag '*'"
+
+time_done