mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
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:
parent
b5d08ebdb9
commit
2571d535a3
1 changed files with 13 additions and 0 deletions
13
performance-test/M03-search.sh
Executable file
13
performance-test/M03-search.sh
Executable 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
|
Loading…
Reference in a new issue