[v2 2/3] test-lib: Add dummy subject to force empty subject
[notmuch-archives.git] / 8a / 3005bebb6fb4212ae99809e58a6fd89a52cf8c
1 Return-Path: <wael.nasreddine@gmail.com>\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 4B282431FC2\r
6         for <notmuch@notmuchmail.org>; Sat, 10 May 2014 14:40:22 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id widObpTByLOR for <notmuch@notmuchmail.org>;\r
17         Sat, 10 May 2014 14:40:17 -0700 (PDT)\r
18 Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com\r
19         [209.85.220.42]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 79B2F431FBF\r
22         for <notmuch@notmuchmail.org>; Sat, 10 May 2014 14:40:17 -0700 (PDT)\r
23 Received: by mail-pa0-f42.google.com with SMTP id rd3so5864345pab.29\r
24         for <notmuch@notmuchmail.org>; Sat, 10 May 2014 14:40:16 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
26         h=from:to:subject:date:message-id;\r
27         bh=iva44FRrQeD7yFxdEWrn+LtdG1DRWqkuAl16k+6LPwc=;\r
28         b=Yf8W+ylKebMhqKlWeGKUpBDZNEE//T2ia+3CkLXaSOzbZGGO3hrxn+sqK8M6Pb3nE6\r
29         ghNa3TPRfJm5X7z7fDhvWVHOThQvSA3aRdTH+vIJbekmP03NR1ACn1zq1AY6uIUVUZvw\r
30         7L6q/9puu+C4tHCpIvo3w1KgjWEDQKk/1x55PF6Ckk/bvZ9KZN+B4yXUqXQuy6ZTejRL\r
31         HGnICiEtOA1TFsMoT3dwkGvaVJGJini1iOBqoJIuK8JOqcph1oLwJ9Tq0K/E62VV0rP/\r
32         x/XizZW0i5WblbQN2i74dUIHhtLPDA07u23uxm+orGzkRW0694FgpO6VGcJMJXaTADLo\r
33         gtyA==\r
34 X-Received: by 10.67.2.34 with SMTP id bl2mr36866952pad.58.1399758016743;\r
35         Sat, 10 May 2014 14:40:16 -0700 (PDT)\r
36 Received: from localhost ([2620:0:1000:2e00:dc94:fbf5:1606:3c5b])\r
37         by mx.google.com with ESMTPSA id\r
38         wp3sm14497556pbc.67.2014.05.10.14.40.15 for <notmuch@notmuchmail.org>\r
39         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
40         Sat, 10 May 2014 14:40:16 -0700 (PDT)\r
41 From: "Wael M. Nasreddine" <wael.nasreddine@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH] ruby: Add wrapper for notmuch_query_count_threads\r
44 Date: Sat, 10 May 2014 14:40:10 -0700\r
45 Message-Id: <1399758011-26217-1-git-send-email-wael.nasreddine@gmail.com>\r
46 X-Mailer: git-send-email 1.9.1.423.g4596e3a\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Sat, 10 May 2014 21:40:22 -0000\r
60 \r
61 \r
62 This patch exposes query.cc::notmuch_query_count_threads to Ruby, the\r
63 benchmark on 85k emails is amazing:\r
64 \r
65                                 user     system      total        real\r
66 query.count_threads         6.270000   0.240000   6.510000 (  6.507064)\r
67 query.search_threads.count 14.040000   3.130000  17.170000 ( 17.172222)\r