You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Julian Zhou (JIRA)" <ji...@apache.org> on 2013/01/06 05:40:12 UTC

[jira] [Updated] (HBASE-7312) Flatten the invoking to the compare/match methods of KeyValue.java

     [ https://issues.apache.org/jira/browse/HBASE-7312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Zhou updated HBASE-7312:
-------------------------------

    Attachment: HBase-7312-TestReport.pdf

HBASE-7312 benchmark shows that the improvement is stably fixed at around 2% of scan elapse time. The workload used is HBASE-6923 TestStorePerformance.java.
                
> Flatten the invoking to the compare/match methods of KeyValue.java
> ------------------------------------------------------------------
>
>                 Key: HBASE-7312
>                 URL: https://issues.apache.org/jira/browse/HBASE-7312
>             Project: HBase
>          Issue Type: Improvement
>          Components: Performance
>    Affects Versions: 0.94.2, 0.94.3
>            Reporter: Julian Zhou
>            Priority: Minor
>         Attachments: HBase-7312-TestReport.pdf
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Invoking to some methods in KeyValue may could be short cut. Like KeyComparator.compareColumns -> KeyValue.compareColumns, 
> KVComparator.compareColumns -> KeyComparator.compareColumns -> KeyValue.compareColumns,
> KeyComparator.compareRows -> Bytes.compareTo,
> KVComparator.matchingRows -> Bytes.equals,
> MetaKeyComparator.compareRowid -> Bytes.compareTo, ... etc.
> Will apply the change, the test the performance difference.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira