From dev-return-21199-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Wed Feb 29 19:24:23 2012 Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CEF09E7F for ; Wed, 29 Feb 2012 19:24:23 +0000 (UTC) Received: (qmail 21596 invoked by uid 500); 29 Feb 2012 19:24:22 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 21549 invoked by uid 500); 29 Feb 2012 19:24:22 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 21540 invoked by uid 99); 29 Feb 2012 19:24:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 19:24:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bchesneau@gmail.com designates 209.85.214.52 as permitted sender) Received: from [209.85.214.52] (HELO mail-bk0-f52.google.com) (209.85.214.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 19:24:15 +0000 Received: by bkcjm19 with SMTP id jm19so2677266bkc.11 for ; Wed, 29 Feb 2012 11:23:55 -0800 (PST) Received-SPF: pass (google.com: domain of bchesneau@gmail.com designates 10.112.103.8 as permitted sender) client-ip=10.112.103.8; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bchesneau@gmail.com designates 10.112.103.8 as permitted sender) smtp.mail=bchesneau@gmail.com; dkim=pass header.i=bchesneau@gmail.com Received: from mr.google.com ([10.112.103.8]) by 10.112.103.8 with SMTP id fs8mr776126lbb.39.1330543435401 (num_hops = 1); Wed, 29 Feb 2012 11:23:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=TTXUYz9LWbT6h/EZdANNbqjEfKRb9RN1SIThG+wDwjw=; b=aQ8z3cgDTyket34RVJ3feyF60IwUXHzPcWayyrsbsG1JmN/pvlUSwlfE5wUq0KijJZ cjr8BgwHWfSdsiLWWWIJdL6OpXECiPBGkOcwOBAvpfH5+IvdxMD99Vnc788gN2+Hm/Iz 8vtk0FpO5Bkb9MrUqX8F28lh2NcqPoztJ95iw= MIME-Version: 1.0 Received: by 10.112.103.8 with SMTP id fs8mr633068lbb.39.1330543435309; Wed, 29 Feb 2012 11:23:55 -0800 (PST) Received: by 10.112.85.65 with HTTP; Wed, 29 Feb 2012 11:23:55 -0800 (PST) In-Reply-To: References: <4568D302-D9F2-49FE-9251-B280127F879D@apache.org> <9BB2567A-6723-43F6-AC17-15109C020EC0@apache.org> <8395A163-1E6C-470A-892D-844020D71F09@apache.org> Date: Wed, 29 Feb 2012 20:23:55 +0100 Message-ID: Subject: Re: Please report your indexing speed From: Benoit Chesneau To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Feb 29, 2012 at 6:25 PM, Benoit Chesneau wrot= e: > On Wed, Feb 29, 2012 at 6:07 PM, Benoit Chesneau wr= ote: >> On Wed, Feb 29, 2012 at 5:53 PM, Benoit Chesneau w= rote: >>> On Wed, Feb 29, 2012 at 4:03 PM, Robert Newson wro= te: >>>> I've produced a new script that reproduces the view regression. I >>>> apologize in advance for exposing my awful Bash scripting abilities >>>> (also my inability to write "pure" shell. Your "Bashism" is my "it >>>> works"). >>>> >>>> I get 0m56.521s for 1.1.x and 1m17.108s for 1.2.x. That is, 1.1.x >>>> complete the same task in only 72% of the time that 1.2.x takes. >>>> >>>> http://friendpaste.com/UI1OcECLEzR6i4D75LqQy >>>> >>> >>> hrm with the same script: >>> >>> 1.2.0 : >>> real =A0 =A00m23.842s >>> user =A0 =A00m0.007s >>> sys =A0 =A0 0m0.004s >>> >>> 1.1.1: >>> real =A0 =A00m28.625s >>> user =A0 =A00m0.008s >>> sys =A0 =A0 0m0.005s >>> >>> hw specs : >>> $ uname -a >>> Darwin enki.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 >>> 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64 >>> mba 2011: =A0i7 =A04 GB SSD 256 GB >>> >>> >>> - beno=EEt >> >> Just for my curiosity I tested it in the =A0couchdb based distribution I >> maintain (head, last mochiweb + jiffy) : >> >> >> real =A0 =A00m19.539s >> user =A0 =A00m0.007s >> sys =A0 =A0 0m0.005s >> done > > I launched the tests a second time and same results: > > 1.1.1 : > real =A0 =A00m29.155s > user =A0 =A00m0.009s > sys =A0 =A0 0m0.006s > > 1.2.0 : > > real =A0 =A00m25.466s > user =A0 =A00m0.008s > sys =A0 =A0 0m0.005s tested with 100000 docs : 1.1.1: real 1m2.352s user 0m0.007s sys 0m0.013s 1.2.0: real 0m52.005s user 0m0.009s sys 0m0.008s All previous tests were with 1.8.5 . With 1.7.0 on 50000 docs: 1.1.1: real 2m3.828s user 0m0.009s sys 0m0.011s 1.2.0: real 2m49.243s user 0m0.009s sys 0m0.011s - beno=EEt