Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 86186 invoked from network); 24 Jun 2010 22:56:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Jun 2010 22:56:14 -0000 Received: (qmail 85447 invoked by uid 500); 24 Jun 2010 22:56:13 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 85312 invoked by uid 500); 24 Jun 2010 22:56:13 -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 85305 invoked by uid 99); 24 Jun 2010 22:56:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 22:56:13 +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; Thu, 24 Jun 2010 22:56:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5OMtoKV020817 for ; Thu, 24 Jun 2010 22:55:50 GMT Message-ID: <13939533.49201277420150005.JavaMail.jira@thor> Date: Thu, 24 Jun 2010 18:55:50 -0400 (EDT) From: "Werner Punz (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Created: (MYFACES-2773) (JSF.js) Performance fixes 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 (JSF.js) Performance fixes -------------------------- Key: MYFACES-2773 URL: https://issues.apache.org/jira/browse/MYFACES-2773 Project: MyFaces Core Issue Type: Improvement Affects Versions: 2.0.1-SNAPSHOT Reporter: Werner Punz Priority: Minor I did some profiling on our scripts today, and found two hotspots in the script include sections both for dev and for deployment project stage. For dev the jsf-uncompressed.js was constantly loaded if embedded in ppr (and to the worse the subsequent dynamic loads were triggered as well), the same issue except for the subsequent reloads also persists for production. I also added some forEach fallbacks for arrays on browsers which already have Array.prototype.forEach implemented. This is a minor improvement but helps with readability. The changes will be committed tomorrow. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.