Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 76459 invoked from network); 2 Jul 2009 18:31:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jul 2009 18:31:00 -0000 Received: (qmail 26369 invoked by uid 500); 2 Jul 2009 18:31:10 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 26292 invoked by uid 500); 2 Jul 2009 18:31:09 -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 26282 invoked by uid 99); 2 Jul 2009 18:31:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 18:31:09 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.68.5.15] (HELO relay01.pair.com) (209.68.5.15) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Jul 2009 18:30:59 +0000 Received: (qmail 5139 invoked from network); 2 Jul 2009 18:30:36 -0000 Received: from 75.143.234.216 (HELO ?192.168.1.197?) (75.143.234.216) by relay01.pair.com with SMTP; 2 Jul 2009 18:30:36 -0000 X-pair-Authenticated: 75.143.234.216 Message-Id: <77950CB1-716C-4C5D-B97E-3C398F728E15@apache.org> From: Damien Katz To: dev@couchdb.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: View Performance (was Re: The 1.0 Thread) Date: Thu, 2 Jul 2009 14:30:36 -0400 References: <20090702080634.GA15464@uk.tiscali.com> <20090702112455.GA25891@uk.tiscali.com> <20090702132047.GA27924@uk.tiscali.com> <20090702143834.GA5202@uk.tiscali.com> <060429AB-10DE-482B-8993-27FBD486F191@jasondavies.com> <4C82520A-A9E1-4F84-8630-0ED3810D8E61@apache.org> X-Mailer: Apple Mail (2.935.3) X-Virus-Checked: Checked by ClamAV on apache.org On Jul 2, 2009, at 1:55 PM, Paul Davis wrote: > On Thu, Jul 2, 2009 at 1:29 PM, Damien Katz wrote: >> >> On Jul 2, 2009, at 1:16 PM, Jason Davies wrote: >> >>> On 2 Jul 2009, at 15:38, Brian Candler wrote: >>> >>>> For some fruit that was so low-hanging that I nearly stubbed my >>>> toe on >>>> it, >>>> see https://issues.apache.org/jira/browse/COUCHDB-399 >>> >>> >>> Nice work! I'd be interested to see what kind of performance >>> increase we >>> get from Spidermonkey 1.8.1, which comes with native JSON parsing/ >>> encoding. >>> See here for details: https://developer.mozilla.org/En/Using_native_JSON >>> . >>> >>> Rumour has it 1.8.1 will be released any time soon (TM) >> >> I'm not sure the new engine is such a no-brainer. One thing about >> the new >> generation of JS VMs is we've seen greatly increased memory usage >> with >> earlier versions. Also the startup times might be longer, or shorter. >> >> Though I wonder if this can be improved by forking a JS process >> rather than >> spawning a new process. >> > > Memory usage is a definite concern. I'm not sure I follow why startup > times would be important though. Am I missing something? Start up time isn't a huge concern, but it's is a something to consider. On a heavily loaded system, scripts that normally work might start to time out, requiring restarting the process. Lots of restarts may start to eat lots cpu and memory IO. -Damien > >> -Damien >> >>> -- >>> Jason Davies >>> >>> www.jasondavies.com >>> >> >>