Re: Applying patches directly from emails?
[notmuch-archives.git] / 2d / 5ced25340ac985f553983196eb24a70734c2c0
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 32986431FC4\r
6         for <notmuch@notmuchmail.org>; Sun, 16 Dec 2012 10:24:00 -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 vFR9Gi+DzYHz for <notmuch@notmuchmail.org>;\r
16         Sun, 16 Dec 2012 10:23:59 -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 D4C7A429E30\r
21         for <notmuch@notmuchmail.org>; Sun, 16 Dec 2012 10:23:56 -0800 (PST)\r
22 Received: from fctnnbsc30w-142167090129.dhcp-dynamic.fibreop.nb.bellaliant.net\r
23         ([142.167.90.129] 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 1TkIsV-0007my-Mq; Sun, 16 Dec 2012 14:23:56 -0400\r
28 Received: from bremner by zancas.localnet with local (Exim 4.80)\r
29         (envelope-from <bremner@tethera.net>)\r
30         id 1TkIsQ-0003cd-6R; Sun, 16 Dec 2012 14:23:50 -0400\r
31 From: david@tethera.net\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [PATCH 4/4] perf-test: add memory leak test for dump restore\r
34 Date: Sun, 16 Dec 2012 14:23:28 -0400\r
35 Message-Id: <1355682208-13729-5-git-send-email-david@tethera.net>\r
36 X-Mailer: git-send-email 1.7.10.4\r
37 In-Reply-To: <1355682208-13729-1-git-send-email-david@tethera.net>\r
38 References: <1355682208-13729-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: Sun, 16 Dec 2012 18:24:00 -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