You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2021/05/28 14:05:55 UTC

[GitHub] [hbase] virajjasani edited a comment on pull request #3302: HBASE-25911 Replace calls to System.currentTimeMillis with EnvironmentEdgeManager.currentTime

virajjasani edited a comment on pull request #3302:
URL: https://github.com/apache/hbase/pull/3302#issuecomment-850442580


   > In general we should all use System.nanoTime for calculating elapsed time, but System.nanoTime is usually slower than System.currentTimeMillis
   
   @Apache9 do you have any ref for this? I was not aware of slowness in nanoTime. I hope it is negligible considering it has to be more precise than millis.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org