logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50844] New: DateFormat.getDateTimeInstance() is very expensive, we can cache it to improve performance
Date Tue, 01 Mar 2011 03:11:24 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50844

           Summary: DateFormat.getDateTimeInstance() is very expensive, we
                    can cache it to improve performance
           Product: Log4j
           Version: 1.2
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: xiaoming@cs.wisc.edu


In the file :
./src/main/java/org/apache/log4j/lf5/util/DateFormatManager.java line:229

We can cache the result by adding a static class member field. 

This is the same as the Bug 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.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message