From couchdb-dev-return-680-apmail-incubator-couchdb-dev-archive=incubator.apache.org@incubator.apache.org Thu Jul 03 13:17:10 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 10473 invoked from network); 3 Jul 2008 13:17:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2008 13:17:09 -0000 Received: (qmail 46580 invoked by uid 500); 3 Jul 2008 13:16:14 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 46550 invoked by uid 500); 3 Jul 2008 13:16:14 -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 46535 invoked by uid 99); 3 Jul 2008 13:16:14 -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 06:16:14 -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 13:15:23 +0000 Received: from nslater by bytesexual.org with local (Exim 4.69) (envelope-from ) id 1KEOf1-0003eE-Qe for couchdb-dev@incubator.apache.org; Thu, 03 Jul 2008 14:15:43 +0100 Date: Thu, 3 Jul 2008 14:15:43 +0100 From: Noah Slater To: couchdb-dev@incubator.apache.org Subject: Re: CouchDB code coverage and profiling Message-ID: <20080703131543.GE28311@bytesexual.org> Mail-Followup-To: couchdb-dev@incubator.apache.org References: <7E2F8EE2-9CD8-4DE2-898F-F2A9D18D06F7@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7E2F8EE2-9CD8-4DE2-898F-F2A9D18D06F7@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 02:52:55PM +0200, Jan Lehnardt wrote: > It'd be nice if we could integrate the generation of these statistics into the > installation somehow. For example the optional installation of the src > directory, so users and developers can easily do a c(module). on the Erlang > shell for testing new stuff. Or do a "make profile" to get profiling results > and all that. Any ideas on how to do that? Noah? My initial thoughts are that the build system is not the best place for this. How about: * A special flag to `couchdb` that triggers profiling * A special script in the source directory that will profile CouchDB for you Best, -- Noah Slater, http://people.apache.org/~nslater/