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