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 97705241D for ; Tue, 3 May 2011 22:29:43 +0000 (UTC) Received: (qmail 17429 invoked by uid 500); 3 May 2011 22:29:42 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 17351 invoked by uid 500); 3 May 2011 22:29:42 -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 17335 invoked by uid 99); 3 May 2011 22:29:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 22:29:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 22:29:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7E775C028E for ; Tue, 3 May 2011 22:29:03 +0000 (UTC) Date: Tue, 3 May 2011 22:29:03 +0000 (UTC) From: "Caolan McMahon (JIRA)" To: dev@couchdb.apache.org Message-ID: <2058712898.19999.1304461743514.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-890) Add caching to CommonJS modules MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028478#comment-13028478 ] Caolan McMahon commented on COUCHDB-890: ---------------------------------------- According to my tests this module caching patch doesn't actually work... the compiled function isn't available on the next resolveModule call and performance remains unchanged after the patch (when I've seen big speed improvements with the other implementation). > Add caching to CommonJS modules > ------------------------------- > > Key: COUCHDB-890 > URL: https://issues.apache.org/jira/browse/COUCHDB-890 > Project: CouchDB > Issue Type: Improvement > Components: JavaScript View Server > Environment: All > Reporter: mikeal > Attachments: commonjscache.diff > > > We need some caching in the commonjs modules so that when you require('jsdom') it doesn't eval it every time you do a GET request to a show function. > Patch coming. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira