notmuch/performance-test/T04-thread-subquery.sh
David Bremner 60fcec82d2 perf-test: add simple test for thread subqueries
This is not a particularly sensible query, but thread:{date:2010} is a
good way to generate fairly large intermediate queries.
2018-05-07 08:42:53 -03:00

13 lines
396 B
Bash
Executable file

#!/bin/bash
test_description='thread subqueries'
. $(dirname "$0")/perf-test-lib.sh || exit 1
time_start
time_run "search thread:{} ..." "notmuch search thread:{date:2010} and thread:{from:linus}"
time_run "search thread:{} ..." "notmuch search thread:{date:2010} and thread:{from:linus}"
time_run "search thread:{} ..." "notmuch search thread:{date:2010} and thread:{from:linus}"
time_done