maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MRESOLVER-14) Statistics should be calculated using System.nanoTime instead of System.currentTimeMillis.
Date Sun, 07 May 2017 16:20:04 GMT

     [ https://issues.apache.org/jira/browse/MRESOLVER-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Osipov updated MRESOLVER-14:
------------------------------------
    Description: {{System.currentTimeMillis()}} is prone to clock changes whereas {{System.nanoTime()}}
is not. All stats duration shall resolve in nanosecond precision.

> Statistics should be calculated using System.nanoTime instead of System.currentTimeMillis.
> ------------------------------------------------------------------------------------------
>
>                 Key: MRESOLVER-14
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-14
>             Project: Maven Resolver
>          Issue Type: Improvement
>    Affects Versions: Maven Artifact Resolver 1.0.3
>            Reporter: Christian Schulte
>             Fix For: Maven Artifact Resolver 1.1.0
>
>
> {{System.currentTimeMillis()}} is prone to clock changes whereas {{System.nanoTime()}}
is not. All stats duration shall resolve in nanosecond precision.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message