diff options
author | David Bremner <bremner@debian.org> | 2013-05-15 07:38:09 -0300 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-05-15 22:23:29 -0300 |
commit | 23e2154cae45e07d0092ff9931411e699485350c (patch) | |
tree | 1bfd94f5429b82bcf788da8fc881163f63011a1a /performance-test/M01-dump-restore.sh | |
parent | 7e455bc92082b140632ee0d8d81b967fc9ea2299 (diff) |
perf-test: rename memory tests
The common suffix will help running them all automatically.
Diffstat (limited to 'performance-test/M01-dump-restore.sh')
-rwxr-xr-x | performance-test/M01-dump-restore.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/performance-test/M01-dump-restore.sh b/performance-test/M01-dump-restore.sh new file mode 100755 index 00000000..be5894a6 --- /dev/null +++ b/performance-test/M01-dump-restore.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +test_description='dump and restore' + +. ./perf-test-lib.sh + +memory_start + +memory_run 'load nmbug tags' 'notmuch restore --accumulate --input=corpus.tags/nmbug.sup-dump' +memory_run 'dump *' 'notmuch dump --output=tags.sup' +memory_run 'restore *' 'notmuch restore --input=tags.sup' +memory_run 'dump --format=batch-tag *' 'notmuch dump --format=batch-tag --output=tags.bt' +memory_run 'restore --format=batch-tag *' 'notmuch restore --format=batch-tag --input=tags.bt' + +memory_done |