blob 09131b7a2cd1c196b8b7cbe55b7cdfcae4394248 1575 bytes (raw)
name: performance-test/T06-emacs.sh # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
| | #!/usr/bin/env bash
test_description='emacs operations'
. $(dirname "$0")/perf-test-lib.sh || exit 1
. $NOTMUCH_SRCDIR/test/test-lib-emacs.sh || exit 1
test_require_emacs
time_start
print_emacs_header
MSGS=$(notmuch search --output=messages "*" | shuf -n 50 | awk '{printf " \"%s\"",$1}')
time_emacs "tag messages" \
"(dolist (msg (list $MSGS))
(notmuch-tag msg (list \"+test\"))
(notmuch-tag msg (list \"-test\"))))"
time_emacs "show warmup" \
'(notmuch-show "thread:{id:tip-4f8219875a0dad2cfad9e93a3fafcd9626db98d2@git.kernel.org}")'
time_emacs "show thread #1" \
'(notmuch-show "thread:{id:tip-4f8219875a0dad2cfad9e93a3fafcd9626db98d2@git.kernel.org}")'
time_emacs "lazy show #1" \
'(let ((notmuch-show-depth-limit 0))
(notmuch-show "thread:{id:tip-4f8219875a0dad2cfad9e93a3fafcd9626db98d2@git.kernel.org}"))'
time_emacs "show thread #2" \
'(notmuch-show "thread:{id:20101208005731.943729010@clark.site}")'
time_emacs "lazy show #2" \
'(let ((notmuch-show-depth-limit 0))
(notmuch-show "thread:{id:20101208005731.943729010@clark.site}"))'
time_emacs "show thread #3" \
'(notmuch-show "thread:{id:20120109014938.GE20796@mit.edu}")'
time_emacs "lazy show #3" \
'(let ((notmuch-show-depth-limit 0))
(notmuch-show "thread:{id:20120109014938.GE20796@mit.edu}"))'
time_emacs "show thread #4" \
'(notmuch-show "thread:{id:1280704593.25620.48.camel@mulgrave.site}")'
time_emacs "lazy show #4" \
'(let ((notmuch-show-depth-limit 0))
(notmuch-show "thread:{id:1280704593.25620.48.camel@mulgrave.site}"))'
time_done
|
debug log:
solving 09131b7a ...
found 09131b7a in https://yhetil.org/notmuch/20220621115933.407563-2-david@tethera.net/
found 66f0be58 in https://yhetil.org/notmuch.git/
preparing index
index prepared:
100755 66f0be589cad55364cf49051073707ff519559b6 performance-test/T06-emacs.sh
applying [1/1] https://yhetil.org/notmuch/20220621115933.407563-2-david@tethera.net/
diff --git a/performance-test/T06-emacs.sh b/performance-test/T06-emacs.sh
index 66f0be58..09131b7a 100755
Checking patch performance-test/T06-emacs.sh...
Applied patch performance-test/T06-emacs.sh cleanly.
index at:
100755 09131b7a2cd1c196b8b7cbe55b7cdfcae4394248 performance-test/T06-emacs.sh
(*) 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.^
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).