perf-test/mem: add simple memory tests for notmuch search

Just copy and replace from the show tests. Currently these show no
major leaks.
This commit is contained in:
David Bremner 2017-03-18 16:35:51 -03:00
parent b5d08ebdb9
commit 2571d535a3

13
performance-test/M03-search.sh Executable file
View file

@ -0,0 +1,13 @@
#!/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