notmuch.git  about / heads / tags
Unnamed repository; edit this file 'description' to name the repository.
blob 40c5d4d756000d46fd12b2b5a16e1b2563f38a87 328 bytes (raw)
name: performance-test/M02-show.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='show'

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

(*) 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