notmuch/performance-test/T01-dump-restore.sh
David Bremner 126347b694 Import notmuch_0.38.2.orig.tar.xz
[dgit import orig notmuch_0.38.2.orig.tar.xz]
2023-12-01 07:51:09 -04:00

13 lines
308 B
Bash
Executable file

#!/usr/bin/env bash
test_description='dump and restore'
. $(dirname "$0")/perf-test-lib.sh || exit 1
time_start
time_run 'load nmbug tags' 'notmuch restore --accumulate < corpus.tags/nmbug.sup-dump'
time_run 'dump *' 'notmuch dump > tags.out'
time_run 'restore *' 'notmuch restore < tags.out'
time_done