You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Matt Pavlovich (Jira)" <ji...@apache.org> on 2021/11/20 16:32:00 UTC

[jira] [Created] (AMQ-8414) [Proposal] Update KahaDB stats to be micro-seconds instead of milliseconds

Matt Pavlovich created AMQ-8414:
-----------------------------------

             Summary: [Proposal] Update KahaDB stats to be micro-seconds instead of milliseconds
                 Key: AMQ-8414
                 URL: https://issues.apache.org/jira/browse/AMQ-8414
             Project: ActiveMQ
          Issue Type: New Feature
            Reporter: Matt Pavlovich


Modern disks are fast, and measuring time in millis is not fine grained enough to get correct averages when there are a few blips in performance.

Current:
{noformat}
System.currentTimeMillis() - start
{noformat}

Proposed:
{noformat}
System.nanoTime() / 1000 - start
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)