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