notmuch.git  about / heads / tags
Unnamed repository; edit this file 'description' to name the repository.
blob a73a36abf1c75e163aac3c61e4c38c80695bb20b 342 bytes (raw)
name: performance-test/M03-search.sh 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
#!/usr/bin/env bash

test_description='search'

. $(dirname "$0")/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

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

git clone https://yhetil.org/notmuch.git