[ https://issues.apache.org/jira/browse/AMQ-8414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated AMQ-8414: -------------------------------------- Fix Version/s: 6.2.0 (was: 6.1.0) (was: 5.18.4) > Support KahaDB stats to be nanoseconds > -------------------------------------- > > Key: AMQ-8414 > URL: https://issues.apache.org/jira/browse/AMQ-8414 > Project: ActiveMQ Classic > Issue Type: Improvement > Reporter: Matt Pavlovich > Assignee: Matt Pavlovich > Priority: Major > Fix For: 6.2.0 > > > 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. > Also, totals get aggregated and the total time exceeds the uptime too quickly > to be correct. > Current: > TimeStatisticImpl > {noformat} > System.currentTimeMillis() - start > {noformat} > Proposed: > NanoTimeStatisticsImpl extends TimeStatisticImpl > {noformat} > System.nanoTime() / 1000 - start > {noformat} > kahaDB config flag "statisticsUnit="nanos | millis" (default: millis) -- This message was sent by Atlassian Jira (v8.20.10#820010)