-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust time display accuracy to milliseconds #2663
Conversation
已经升级到 jdk 8,可以改用 DateTimeFormatter 和 LocalDateTime 等。 |
这个 PR 是时间精度调整,不涉及更换格式化相关类 |
有改动正好可以用新的 API,并且 DateTimeFormatter 性能更好 。 |
已调整为 DateTimeFormatter, com.taobao.arthas.core.shell.impl.ShellImpl 与 com.taobao.arthas.core.shell.system.impl.JobImpl 等类未调整是因为使用了 StringBuilder 调用 toString 生成日期字符串,如果调整为 LocalDateTime 会导致输出的日期字符串格式发生变化。 |
|
When troubleshooting performance issues, sometimes millisecond-level time displays are needed.