Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2651

Use consistent means of measuring time

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.9
    • Affects Version/s: None
    • Component/s: None
    • None

      Throughout the codebase we use process.hrtime() or Date.now() to calculate duration of certain events or operations. We should use a single method, and ideally store numbers rather than the object returned from process.hrtime() to make working with this data easier to reason about, and more interoperable with systems which might not support some approaches.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: