[
https://issues.apache.org/jira/browse/HBASE-16652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15502720#comment-15502720
]
Heng Chen commented on HBASE-16652:
-----------------------------------
Found the reason why 'get' in Increment is slower than append.
That is due to 'TimeRange' in Increment, if we not set it, the default value
is [0, Long.MaxValue], so get in increment will be slower.
IMO the default value about tr should be null if we not set it explicitly.
Upload a patch. And with the patch, 'get' in increment is faster now.
Results shows below:
{code}
w/o the patch of increment: 55693ns, 57180ns, 56374ns
w the patch of increment: 52358ns, 50146ns, 48047.2ns
{code}
> Figure out performance difference between increment and append
> --------------------------------------------------------------
>
> Key: HBASE-16652
> URL: https://issues.apache.org/jira/browse/HBASE-16652
> Project: HBase
> Issue Type: Sub-task
> Reporter: Heng Chen
> Labels: performance
> Attachments: append.jfr, append_get_profile.png, increment.jfr,
> increment_get_profile.png
>
>
> When do performance test in HBASE-16625, i found it has the very big
> difference between Append and Increment (append is about 37% faster than
> increment).
> As [~stack] mentioned in
> https://issues.apache.org/jira/browse/HBASE-16610?focusedCommentId=15493166&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15493166,
> append and increment has been unified in server-side, and they looks the
> same in client-side.
> This issue is to figure out why the performance looks different between them.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)