[ 
https://issues.apache.org/jira/browse/HBASE-5915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266711#comment-13266711
 ] 

Zhihong Yu commented on HBASE-5915:
-----------------------------------

TestKVComparisonPerformance without the patch:
{code}
Run 99 took 99574us

Avg: 98655us
{code}
Here is the output with the patch:
{code}
Run 99 took 79849us

Avg: 79295us
{code}
                
> Improve performance of KeyValue comparison
> ------------------------------------------
>
>                 Key: HBASE-5915
>                 URL: https://issues.apache.org/jira/browse/HBASE-5915
>             Project: HBase
>          Issue Type: Improvement
>          Components: performance
>    Affects Versions: 0.94.1
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: 5915-v2.txt, hbase-5915.txt
>
>
> Got bored tonight and poked around at making KeyValue comparison faster. I 
> was able to get a ~23% speedup on a micro-benchmark I wrote by using Unsafe 
> in a few more places. This should make some difference for real workloads, 
> since this is usually one of the top CPU consumers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to