]> git.notmuchmail.org Git - notmuch/blobdiff - performance-test/T02-tag.sh
perf-test: rename time tests to have .sh suffix
[notmuch] / performance-test / T02-tag.sh
diff --git a/performance-test/T02-tag.sh b/performance-test/T02-tag.sh
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