hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliott Clark (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-15004) Use nanoTime for all metrics
Date Fri, 18 Dec 2015 06:05:46 GMT
Elliott Clark created HBASE-15004:
-------------------------------------

             Summary: Use nanoTime for all metrics
                 Key: HBASE-15004
                 URL: https://issues.apache.org/jira/browse/HBASE-15004
             Project: HBase
          Issue Type: Improvement
            Reporter: Elliott Clark


{code}
Benchmark                  Mode       Cnt    Score   Error  Units
TimeBench.testMilliTime  sample  50615439  113.843 ± 3.106  ns/op
TimeBench.testNanoTime   sample  49392444  109.096 ± 1.976  ns/op
{code}

On any recent version of Linux (where > 95% of HBase regionservers run) the gettimeofday
is cheap.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message