X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=performance-test%2FM03-search.sh;fp=performance-test%2FM03-search.sh;h=8d026eee366278048b95a7c4b4eb705fca56377b;hp=0000000000000000000000000000000000000000;hb=2571d535a35a90f7ed4419d7c33c575b647cb614;hpb=b5d08ebdb9633b52519b4aab80da50884e860bc9 diff --git a/performance-test/M03-search.sh b/performance-test/M03-search.sh new file mode 100755 index 00000000..8d026eee --- /dev/null +++ b/performance-test/M03-search.sh @@ -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