database error
[notmuch-archives.git] / 0d / a2d50b01d856a1b44958d93ffcdd528a92c00a
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 D4D5E431FC4\r
6         for <notmuch@notmuchmail.org>; Mon, 24 Dec 2012 06:59:53 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 HZcFBaFJoEBs for <notmuch@notmuchmail.org>;\r
16         Mon, 24 Dec 2012 06:59:53 -0800 (PST)\r
17 Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238])\r
18         (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id EC17E431FC9\r
21         for <notmuch@notmuchmail.org>; Mon, 24 Dec 2012 06:59:41 -0800 (PST)\r
22 Received: from fctnnbsc30w-156034082078.dhcp-dynamic.fibreop.nb.bellaliant.net\r
23         ([156.34.82.78] helo=zancas.localnet)\r
24         by tesseract.cs.unb.ca with esmtpsa\r
25         (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72)\r
26         (envelope-from <bremner@tethera.net>)\r
27         id 1Tn9VC-0000TV-Tb; Mon, 24 Dec 2012 10:59:41 -0400\r
28 Received: from bremner by zancas.localnet with local (Exim 4.80)\r
29         (envelope-from <bremner@tethera.net>)\r
30         id 1Tn9V4-0001kk-Cm; Mon, 24 Dec 2012 10:59:30 -0400\r
31 From: david@tethera.net\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [Patch v2 4/4] perf-test: add memory leak test for dump restore\r
34 Date: Mon, 24 Dec 2012 10:59:20 -0400\r
35 Message-Id: <1356361160-6449-5-git-send-email-david@tethera.net>\r
36 X-Mailer: git-send-email 1.7.10.4\r
37 In-Reply-To: <1356361160-6449-1-git-send-email-david@tethera.net>\r
38 References: <1356361160-6449-1-git-send-email-david@tethera.net>\r
39 X-Spam_bar: -\r
40 Cc: David Bremner <bremner@debian.org>\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Mon, 24 Dec 2012 14:59:55 -0000\r
54 \r
55 From: David Bremner <bremner@debian.org>\r
56 \r
57 In id:87vcc2q5n2.fsf@nikula.org, Jani points out a memory leak in the\r
58 current version of the sup restore code. Among other things, this test\r
59 is intended to verify a fix for that leak.\r
60 ---\r
61  performance-test/M01-dump-restore |   15 +++++++++++++++\r
62  1 file changed, 15 insertions(+)\r
63  create mode 100755 performance-test/M01-dump-restore\r
64 \r
65 diff --git a/performance-test/M01-dump-restore b/performance-test/M01-dump-restore\r
66 new file mode 100755\r
67 index 0000000..be5894a\r
68 --- /dev/null\r
69 +++ b/performance-test/M01-dump-restore\r
70 @@ -0,0 +1,15 @@\r
71 +#!/bin/bash\r
72 +\r
73 +test_description='dump and restore'\r
74 +\r
75 +. ./perf-test-lib.sh\r
76 +\r
77 +memory_start\r
78 +\r
79 +memory_run 'load nmbug tags' 'notmuch restore --accumulate --input=corpus.tags/nmbug.sup-dump'\r
80 +memory_run 'dump *' 'notmuch dump --output=tags.sup'\r
81 +memory_run 'restore *' 'notmuch restore --input=tags.sup'\r
82 +memory_run 'dump --format=batch-tag *' 'notmuch dump --format=batch-tag --output=tags.bt'\r
83 +memory_run 'restore --format=batch-tag *' 'notmuch restore --format=batch-tag --input=tags.bt'\r
84 +\r
85 +memory_done\r
86 -- \r
87 1.7.10.4\r
88 \r