]> git.notmuchmail.org Git - notmuch/blobdiff - performance-test/01-dump-restore
perf-test: split basic into 00-new, 01-dump-restore, and 02-tag
[notmuch] / performance-test / 01-dump-restore
diff --git a/performance-test/01-dump-restore b/performance-test/01-dump-restore
new file mode 100755 (executable)
index 0000000..0ee3a28
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+test_description='dump and restore'
+
+. ./perf-test-lib.sh
+
+time_start
+
+time_run 'dump *' 'notmuch dump > tags.out'
+time_run 'restore *' 'notmuch restore < tags.out'
+
+time_done