notmuch/performance-test/01-dump-restore
David Bremner 51b0f8ff33 perf-test: split basic into 00-new, 01-dump-restore, and 02-tag
We use the new "time_start" function to restore the database from cache
if possible.
2012-12-15 08:29:08 -04:00

12 lines
189 B
Bash
Executable file

#!/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