Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4403CE6A6 for ; Sun, 6 Jan 2013 04:40:14 +0000 (UTC) Received: (qmail 61939 invoked by uid 500); 6 Jan 2013 04:40:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 61892 invoked by uid 500); 6 Jan 2013 04:40:13 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 61869 invoked by uid 99); 6 Jan 2013 04:40:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jan 2013 04:40:13 +0000 Date: Sun, 6 Jan 2013 04:40:12 +0000 (UTC) From: "Julian Zhou (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-7312) Flatten the invoking to the compare/match methods of KeyValue.java MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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