perf-test: add simple memory tests for notmuch-show

These are probably too slow to run with the full corpus
This commit is contained in:
David Bremner 2017-03-18 13:40:25 -03:00
parent 0c8ce66ef4
commit b5d08ebdb9

13
performance-test/M02-show.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
test_description='show'
. ./perf-test-lib.sh || exit 1
memory_start
memory_run 'show *' "notmuch show '*' 1>/dev/null"
memory_run 'show --format=json *' "notmuch show --format=json '*' 1>/dev/null"
memory_run 'show --format=sexp *' "notmuch show --format=sexp '*' 1>/dev/null"
memory_done