mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
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.
This commit is contained in:
parent
5ad39ebf75
commit
60fcec82d2
1 changed files with 13 additions and 0 deletions
13
performance-test/T04-thread-subquery.sh
Executable file
13
performance-test/T04-thread-subquery.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/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
|
Loading…
Reference in a new issue