mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
51b0f8ff33
We use the new "time_start" function to restore the database from cache if possible.
12 lines
189 B
Bash
Executable file
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
|