-
Notifications
You must be signed in to change notification settings - Fork 38k
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
Use System.nanoTime() instead of System.currentTimeMillis() in StopWatch #23235
Comments
We don't use the Spring Framework issue tracker for questions, but judging from your question it looks like you're considering that to be a bug. Why should |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
I'm not the original reporter, but I just had the same remark/question when stumbling on the The Javadoc for
So As additional data points:
|
@pcdavid, thanks for raising those valid points. We'll switch to using nano time in Spring Framework 5.2. |
@shenjianeng and @pcdavid, the changes have been made in a532afb. Feel free to try them out in the latest build snapshots for Spring Framework 5.2, and if you notice anything that's missing... just let us know. Thanks |
why does not StopWatch use System.nanoTime()
The text was updated successfully, but these errors were encountered: