You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Elliott Clark (JIRA)" <ji...@apache.org> on 2015/12/18 07:05:46 UTC
[jira] [Created] (HBASE-15004) Use nanoTime for all metrics
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)