aboutsummaryrefslogtreecommitdiffhomepage
path: root/performance-test/T01-dump-restore.sh
blob: b2ff94001a3c15b91bfbb5a1e398df8940d72246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

test_description='dump and restore'

. ./perf-test-lib.sh

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