unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 322598329f8eab9138ab3a29b378a3ea261da1f2 437 bytes (raw)
name: performance-test/basic 	 # 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
 
#!/bin/bash

. ./perf-test-lib.sh

uncache_database

add_email_corpus

print_header

time_run 'initial notmuch new' 'notmuch new'

time_run 'load nmbug tags' 'notmuch restore --accumulate < corpus.tags/nmbug.sup-dump'

cache_database

time_run 'second notmuch new' 'notmuch new'
time_run 'dump *' 'notmuch dump > tags.out'
time_run 'restore *' 'notmuch restore < tags.out'
time_run 'tag * +new_tag' "notmuch tag +new_tag '*'"

time_done

debug log:

solving 3225983 ...
found 3225983 in https://yhetil.org/notmuch/1354594712-5179-4-git-send-email-david@tethera.net/
found 41a7ff1 in https://yhetil.org/notmuch.git/
preparing index
index prepared:
100755 41a7ff1a75ac6a9ec2bde435f69ab0c73d259df1	performance-test/basic

applying [1/1] https://yhetil.org/notmuch/1354594712-5179-4-git-send-email-david@tethera.net/
diff --git a/performance-test/basic b/performance-test/basic
index 41a7ff1..3225983 100755

Checking patch performance-test/basic...
Applied patch performance-test/basic cleanly.

index at:
100755 322598329f8eab9138ab3a29b378a3ea261da1f2	performance-test/basic

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