Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 26633 invoked from network); 6 Jul 2010 09:28:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Jul 2010 09:28:50 -0000 Received: (qmail 49009 invoked by uid 500); 6 Jul 2010 09:28:50 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 48415 invoked by uid 500); 6 Jul 2010 09:28:47 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 48395 invoked by uid 99); 6 Jul 2010 09:28:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jul 2010 09:28:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jul 2010 09:28:43 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o669Kphg015612 for ; Tue, 6 Jul 2010 09:20:51 GMT Message-ID: <23367138.213081278408051770.JavaMail.jira@thor> Date: Tue, 6 Jul 2010 05:20:51 -0400 (EDT) From: "Martin Marinschek (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (MYFACES-2780) MyFaces performance improvements for production In-Reply-To: <18183155.140841277929550153.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MYFACES-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885474#action_12885474 ] Martin Marinschek commented on MYFACES-2780: -------------------------------------------- Hi guys, how is lazy loading good for production performance? In production, I would expect everything to be initialized on startup - so that request times are as low as possible (and certainly not the first request is taking longer than all other requests). Startup is not so much an issue in production! That's why everyone precompiles JSPs in production. best regards, Martin > MyFaces performance improvements for production > ------------------------------------------------ > > Key: MYFACES-2780 > URL: https://issues.apache.org/jira/browse/MYFACES-2780 > Project: MyFaces Core > Issue Type: Improvement > Components: General > Affects Versions: 2.0.0 > Reporter: Michael Concini > Assignee: Michael Concini > Priority: Minor > Fix For: 2.0.1 > > > Several fixes to enhance startup memory footprint and runtime performance taking advantage of ProjectStage. > -lazy loading of validators, converters, behaviors,components - can have a substantial impact on startup footprint in applications with multiple or very large widget libraries. > Turn off some updating of resources for ProjectStage=Production by default (can always override using javax.faces.FACELETS_REFRESH_PERIOD) > -change default facelets refresh interval to -1 when projectStage is production. This by itself gains a 60% improvement in throughput. > -disable reloading of web.xml and faces-config after the first load. > -store a map to cache Class to listenerFor and resourceDependency annotations when in production. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.