Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-14

Statistics should be calculated using System.nanoTime() instead of System.currentTimeMillis()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Maven Artifact Resolver 1.0.3
    • Component/s: None
    • Labels:
      None

      Description

      System.currentTimeMillis() is prone to clock changes whereas System.nanoTime() is not. All stats duration shall resolve in nanosecond precision.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                schulte77 Christian Schulte
                Reporter:
                schulte77 Christian Schulte
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: