mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 20:38:08 +01:00
2571d535a3
Just copy and replace from the show tests. Currently these show no major leaks.
13 lines
320 B
Bash
Executable file
13 lines
320 B
Bash
Executable file
#!/bin/bash
|
|
|
|
test_description='search'
|
|
|
|
. ./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
|