Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 77859 invoked from network); 24 Feb 2011 03:00:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Feb 2011 03:00:23 -0000 Received: (qmail 65943 invoked by uid 500); 24 Feb 2011 03:00:23 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 65865 invoked by uid 500); 24 Feb 2011 03:00:22 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 65847 invoked by uid 99); 24 Feb 2011 03:00:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 03:00:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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 Feb 2011 03:00:19 +0000 Received: from thor.apache.org (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p1O2xvl3015795 for ; Thu, 24 Feb 2011 02:59:57 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id p1O2xv9p015794; Wed, 23 Feb 2011 21:59:57 -0500 (EST) Date: Wed, 23 Feb 2011 21:59:57 -0500 (EST) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 50822] New: DateFormat.getDateTimeInstance is expensive we can cache the result X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Other X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xiaoming@cs.wisc.edu X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=50822 Summary: DateFormat.getDateTimeInstance is expensive we can cache the result Product: Ant Version: 1.8.2 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Other AssignedTo: notifications@ant.apache.org ReportedBy: xiaoming@cs.wisc.edu DateFormat.getDateTimeInstance is expensive, and we can cache the value so that we don't need to call it every time. In the file : ./apache-ant-1.8.2/src/main/org/apache/tools/ant/DefaultLogger.java line: 365 In the function getTimestamp. This bug is similar to the bug Apache 48778 -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.