notmuch/performance-test/T01-dump-restore
David Bremner 047cd7a595 perf-test: rename current tests as "time tests"
This is almost entirely renaming files, except for updating a few
references to those file names, and changing the makefile target.

A new set of memory tests will be run separately because they take
much longer.
2012-12-25 08:49:24 -04:00

13 lines
276 B
Bash
Executable file

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