mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-01 15:14:16 +01:00
14 lines
334 B
Bash
14 lines
334 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
test_description='search'
|
||
|
|
||
|
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||
|
|
||
|
memory_start
|
||
|
|
||
|
memory_run 'search *' "notmuch search '*' 1>/dev/null"
|
||
|
memory_run 'search --format=json *' "notmuch search --format=json '*' 1>/dev/null"
|
||
|
memory_run 'search --format=sexp *' "notmuch search --format=sexp '*' 1>/dev/null"
|
||
|
|
||
|
memory_done
|