mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
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:
parent
0c8ce66ef4
commit
b5d08ebdb9
1 changed files with 13 additions and 0 deletions
13
performance-test/M02-show.sh
Executable file
13
performance-test/M02-show.sh
Executable 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
|
Loading…
Reference in a new issue