https://issues.apache.org/bugzilla/show_bug.cgi?id=50792

           Summary: Dateformat is expensive and the result can be cached
           Product: Ant
           Version: 1.8.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [email protected]


In the function getTimestamp() 

(./apache-ant-1.8.2/src/main/org/apache/tools/ant/DefaultLogger.java   
line:363 )

a DateFormat instance is created each time the function is called. We can cache
the instance and improve the performance.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to