Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 25470 invoked from network); 14 May 2009 16:14:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 May 2009 16:14:35 -0000 Received: (qmail 66302 invoked by uid 500); 14 May 2009 16:14:35 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 66220 invoked by uid 500); 14 May 2009 16:14:35 -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 66210 invoked by uid 99); 14 May 2009 16:14:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 16:14:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of paul.joseph.davis@gmail.com designates 74.125.44.30 as permitted sender) Received: from [74.125.44.30] (HELO yx-out-2324.google.com) (74.125.44.30) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 16:14:25 +0000 Received: by yx-out-2324.google.com with SMTP id 8so668165yxm.5 for ; Thu, 14 May 2009 09:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=QSZcoYr7/I0fFS57V0mX9NNTQIp3ku2LcVT2AkdnWpI=; b=kg/UEMATEnDkBS3MpsKzy2zu1xjuoICT7mZO7P61wJMq4DYVCi7nWgv/NxyO+c+pUz cru83kUO8RgQ5GtePA9qlZLhA7ZJCWbUn+WC2gdCvF8nt2WP7c0VkH6c/WoIzVigw0m1 CTttTMMLF8HrrOH8MYYR/DR0rTriqacgcfeU0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=CP7G8xl6EwWV9mGcNS9+0lP+Et8t47ttGwFaIgl4IZUA3cQBm+hIrAsJbs3ROek1B0 3ayZf0hLtxhu84+z54pKvyNTQwQCZefvntJAyS5FqRWPlq9QB2eD+erm2GaieAFxK35y OEoV+XXsI1OtqLeA5KByu8yvcYlLhdjAfG/dM= MIME-Version: 1.0 Received: by 10.100.47.6 with SMTP id u6mr3317814anu.97.1242317644787; Thu, 14 May 2009 09:14:04 -0700 (PDT) In-Reply-To: <3C3DE9B8-6E82-49CE-98AE-3130A284DA31@apache.org> References: <3C3DE9B8-6E82-49CE-98AE-3130A284DA31@apache.org> Date: Thu, 14 May 2009 12:14:04 -0400 Message-ID: Subject: Re: chunkify profiling (was Re: Patch to couch_btree:chunkify) From: Paul Davis 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 > > You know BERT better than I do -- you said the size of a binary is stored= in > its header, correct? > I'm not sure now. It may only get length information when being sent across the wire. >> I'll put this on the weekend agenda. Until I can show that its >> consistently faster I'll hold off. >> >> For reference, when you say 2K docs in batches of 1K, did you mean 200K? > > No, I meant 2k (2 calls to _bulk_docs). =A0200k would have generated a > multi-GB trace and I think fprof:profile() would have melted my MacBook > processing it. =A0YMMV ;-) I thought you knew the guys at Cern ;) Thanks for writing this up and do please post code somewhere. This weekend I'll take a bit of time to see if I can weasel anything better out of the fprof stuff. Paul Davis