[logback-dev] [JIRA] Issue Comment Edited: (LBCLASSIC-36) Synchronization of SimpleDateFormat object in DateConverter

Ceki Gulcu ceki at qos.ch
Sun Jun 14 22:09:53 CEST 2009

Ceki Gulcu wrote:
> Thorbjoern Ravn Andersen wrote:
>> Ceki Gulcu (JIRA) skrev:
>>> Just as importantly, logback will invoke Yoda time or 
>>> SimpleDateformat, at most once per millisecond. So the performance of 
>>> SimpleDateformat as well as Yoda time are as satisfactory as they are 
>>> unimportant. Only the performance of System.currentMillis really 
>>> matters.
>> "once per millisecond" does not merit unimportance as this might mean 
>> 1000 times per second.
> True. However, keep in mind that the computation performed 1000 per 
> second takes 2 microseconds.

To be clear, I meant to day that that particular computation takes *only* 2 
microseconds, albeit it is performed 1000 times per second.

Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.

More information about the logback-dev mailing list