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.

Would a reasonable optimization be "once per second" with the miliseconds being hacked in afterwards?

--
 Thorbjørn Ravn Andersen  "...plus... Tubular Bells!"

_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to