From couchdb-dev-return-682-apmail-incubator-couchdb-dev-archive=incubator.apache.org@incubator.apache.org Thu Jul 03 14:08:05 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 31525 invoked from network); 3 Jul 2008 14:08:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2008 14:08:05 -0000 Received: (qmail 48937 invoked by uid 500); 3 Jul 2008 14:08:05 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 48891 invoked by uid 500); 3 Jul 2008 14:08:05 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 48880 invoked by uid 99); 3 Jul 2008 14:08:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 07:08:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [89.16.172.240] (HELO bytesexual.org) (89.16.172.240) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 14:07:15 +0000 Received: from nslater by bytesexual.org with local (Exim 4.69) (envelope-from ) id 1KEPTD-0003sV-OE for couchdb-dev@incubator.apache.org; Thu, 03 Jul 2008 15:07:35 +0100 Date: Thu, 3 Jul 2008 15:07:35 +0100 From: Noah Slater To: couchdb-dev@incubator.apache.org Subject: Re: CouchDB code coverage and profiling Message-ID: <20080703140735.GA14570@bytesexual.org> Mail-Followup-To: couchdb-dev@incubator.apache.org References: <7E2F8EE2-9CD8-4DE2-898F-F2A9D18D06F7@apache.org> <20080703131543.GE28311@bytesexual.org> <3CD1D504-FA1F-45A3-BB26-2965F130E989@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CD1D504-FA1F-45A3-BB26-2965F130E989@apache.org> X-Noah: Awesome User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Jul 03, 2008 at 03:47:09PM +0200, Jan Lehnardt wrote: > Yeah, I don't know what the right place is, but it'd be nice if it was easy > for a developer or tester to access. A flag will do for profiling, but not for > the coverage (unless we implicitly recompile CouchDB which I don't think is a > good idea). > > What about installing the source dir with the beam files? It appears to be not > uncommon in the free software Erlang world to have a module-x.y.z/ebin for the > beam files and module-x.z.y/src for the sources. Okay, you have a point. Perhaps something like: ./configure --with-profiling --with-coverage This would be more elegant that cluttering up `couchdb` or similar. As for the ebin/src, sure, though we originally did that but one of my Debian Erlang mentors suggested that it wasn't necessary, so I took it out. Best, -- Noah Slater, http://people.apache.org/~nslater/