summaryrefslogtreecommitdiff
path: root/performance-test/T01-dump-restore.sh
blob: 2a53e3b82f3bf4c113e570b9314e8a5c60055c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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