notmuch/performance-test/M03-search.sh
David Bremner 2571d535a3 perf-test/mem: add simple memory tests for notmuch search
Just copy and replace from the show tests. Currently these show no
major leaks.
2017-03-18 20:43:19 -03:00

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