1 Return-Path: <bremner@tethera.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 3CA4D431FC3
\r
6 for <notmuch@notmuchmail.org>; Wed, 15 May 2013 04:03:43 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id G-2PcsODa63t for <notmuch@notmuchmail.org>;
\r
16 Wed, 15 May 2013 04:03:36 -0700 (PDT)
\r
17 Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])
\r
18 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id DC7F9431FD8
\r
21 for <notmuch@notmuchmail.org>; Wed, 15 May 2013 04:03:22 -0700 (PDT)
\r
22 Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238])
\r
23 by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id r4FB3DgC020235;
\r
24 Wed, 15 May 2013 08:03:13 -0300
\r
25 Received: from fctnnbsc30w-156034082078.dhcp-dynamic.fibreop.nb.bellaliant.net
\r
26 ([156.34.82.78] helo=zancas.localnet)
\r
27 by tesseract.cs.unb.ca with esmtpsa
\r
28 (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80)
\r
29 (envelope-from <bremner@tethera.net>)
\r
30 id 1UcZUF-0002OD-GD; Wed, 15 May 2013 08:03:13 -0300
\r
31 Received: from bremner by zancas.localnet with local (Exim 4.80)
\r
32 (envelope-from <bremner@tethera.net>)
\r
33 id 1UcZU9-0001mC-UR; Wed, 15 May 2013 08:03:05 -0300
\r
34 From: david@tethera.net
\r
35 To: notmuch@notmuchmail.org
\r
36 Subject: [PATCH 2/4] perf-test: rename time tests to have .sh suffix
\r
37 Date: Wed, 15 May 2013 08:03:01 -0300
\r
38 Message-Id: <1368615783-4941-3-git-send-email-david@tethera.net>
\r
39 X-Mailer: git-send-email 1.8.2.rc2
\r
40 In-Reply-To: <1368615783-4941-1-git-send-email-david@tethera.net>
\r
41 References: <1368615783-4941-1-git-send-email-david@tethera.net>
\r
43 Cc: David Bremner <bremner@debian.org>
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Wed, 15 May 2013 11:03:43 -0000
\r
58 From: David Bremner <bremner@debian.org>
\r
60 This will simplify notmuch time tests
\r
62 performance-test/T00-new | 15 ---------------
\r
63 performance-test/T00-new.sh | 15 +++++++++++++++
\r
64 performance-test/T01-dump-restore | 13 -------------
\r
65 performance-test/T01-dump-restore.sh | 13 +++++++++++++
\r
66 performance-test/T02-tag | 14 --------------
\r
67 performance-test/T02-tag.sh | 14 ++++++++++++++
\r
68 6 files changed, 42 insertions(+), 42 deletions(-)
\r
69 delete mode 100755 performance-test/T00-new
\r
70 create mode 100755 performance-test/T00-new.sh
\r
71 delete mode 100755 performance-test/T01-dump-restore
\r
72 create mode 100755 performance-test/T01-dump-restore.sh
\r
73 delete mode 100755 performance-test/T02-tag
\r
74 create mode 100755 performance-test/T02-tag.sh
\r
76 diff --git a/performance-test/T00-new b/performance-test/T00-new
\r
77 deleted file mode 100755
\r
78 index 553bb8b..0000000
\r
79 --- a/performance-test/T00-new
\r
84 -test_description='notmuch new'
\r
86 -. ./perf-test-lib.sh
\r
92 -for i in $(seq 2 6); do
\r
93 - time_run "notmuch new #$i" 'notmuch new'
\r
97 diff --git a/performance-test/T00-new.sh b/performance-test/T00-new.sh
\r
98 new file mode 100755
\r
99 index 0000000..553bb8b
\r
101 +++ b/performance-test/T00-new.sh
\r
105 +test_description='notmuch new'
\r
107 +. ./perf-test-lib.sh
\r
113 +for i in $(seq 2 6); do
\r
114 + time_run "notmuch new #$i" 'notmuch new'
\r
118 diff --git a/performance-test/T01-dump-restore b/performance-test/T01-dump-restore
\r
119 deleted file mode 100755
\r
120 index b2ff940..0000000
\r
121 --- a/performance-test/T01-dump-restore
\r
126 -test_description='dump and restore'
\r
128 -. ./perf-test-lib.sh
\r
132 -time_run 'load nmbug tags' 'notmuch restore --accumulate < corpus.tags/nmbug.sup-dump'
\r
133 -time_run 'dump *' 'notmuch dump > tags.out'
\r
134 -time_run 'restore *' 'notmuch restore < tags.out'
\r
137 diff --git a/performance-test/T01-dump-restore.sh b/performance-test/T01-dump-restore.sh
\r
138 new file mode 100755
\r
139 index 0000000..b2ff940
\r
141 +++ b/performance-test/T01-dump-restore.sh
\r
145 +test_description='dump and restore'
\r
147 +. ./perf-test-lib.sh
\r
151 +time_run 'load nmbug tags' 'notmuch restore --accumulate < corpus.tags/nmbug.sup-dump'
\r
152 +time_run 'dump *' 'notmuch dump > tags.out'
\r
153 +time_run 'restore *' 'notmuch restore < tags.out'
\r
156 diff --git a/performance-test/T02-tag b/performance-test/T02-tag
\r
157 deleted file mode 100755
\r
158 index 78ceccc..0000000
\r
159 --- a/performance-test/T02-tag
\r
164 -test_description='tagging'
\r
166 -. ./perf-test-lib.sh
\r
170 -time_run 'tag * +new_tag' "notmuch tag +new_tag '*'"
\r
171 -time_run 'tag * +existing_tag' "notmuch tag +new_tag '*'"
\r
172 -time_run 'tag * -existing_tag' "notmuch tag -new_tag '*'"
\r
173 -time_run 'tag * -missing_tag' "notmuch tag -new_tag '*'"
\r
176 diff --git a/performance-test/T02-tag.sh b/performance-test/T02-tag.sh
\r
177 new file mode 100755
\r
178 index 0000000..78ceccc
\r
180 +++ b/performance-test/T02-tag.sh
\r
184 +test_description='tagging'
\r
186 +. ./perf-test-lib.sh
\r
190 +time_run 'tag * +new_tag' "notmuch tag +new_tag '*'"
\r
191 +time_run 'tag * +existing_tag' "notmuch tag +new_tag '*'"
\r
192 +time_run 'tag * -existing_tag' "notmuch tag -new_tag '*'"
\r
193 +time_run 'tag * -missing_tag' "notmuch tag -new_tag '*'"
\r