notmuch/performance-test/00-new
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

19 lines
244 B
Bash
Executable file

#!/bin/bash
test_description='notmuch new'
. ./perf-test-lib.sh
uncache_database
time_start
time_run 'initial notmuch new' 'notmuch new'
cache_database
for i in $(seq 2 6); do
time_run "notmuch new #$i" 'notmuch new'
done
time_done