lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-5734) We should use System.nanoTime rather than System.currentTimeMillis when calculating elapsed time.
Date Wed, 05 Mar 2014 19:54:43 GMT

    [ https://issues.apache.org/jira/browse/SOLR-5734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13921312#comment-13921312
] 

Noble Paul commented on SOLR-5734:
----------------------------------

Any reason why System.currentTimeMillis is bad ?

> We should use System.nanoTime rather than System.currentTimeMillis when calculating elapsed
time. 
> --------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-5734
>                 URL: https://issues.apache.org/jira/browse/SOLR-5734
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.7, 5.0
>
>         Attachments: SOLR-5734.patch
>
>
> As brought up by [~andyetitmoves] in SOLR-5721.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message