ebehrendt opened a new pull request #1208: SOLR-13101: Convert nanotime to ms
URL: https://github.com/apache/lucene-solr/pull/1208
 
 
   # Description
   
   Continue logging ms, but use System.nanoTime instead of 
System.currentTimeMillis for more precise measurement of elapsed time.
   
   # Solution
   
   Divide nanoseconds by 1000000 to get milliseconds. Converting nanoTime to 
milliseconds is more precise than using currentTimeMillis because it does not 
use the system clock time which could face disruptions
   
   # Tests
   
   Ran ant test and manually examined loglines
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to