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 B5F7A187B1 for ; Sat, 17 Oct 2015 05:20:05 +0000 (UTC) Received: (qmail 79523 invoked by uid 500); 17 Oct 2015 05:20:05 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 79473 invoked by uid 500); 17 Oct 2015 05:20:05 -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 79462 invoked by uid 99); 17 Oct 2015 05:20:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Oct 2015 05:20:05 +0000 Date: Sat, 17 Oct 2015 05:20:05 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-14628) Save object creation for scanning with block encodings 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-14628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl updated HBASE-14628: ---------------------------------- Summary: Save object creation for scanning with block encodings (was: Save object creation for scanning with FAST_DIFF encoding) > Save object creation for scanning with block encodings > ------------------------------------------------------ > > Key: HBASE-14628 > URL: https://issues.apache.org/jira/browse/HBASE-14628 > Project: HBase > Issue Type: Bug > Reporter: Lars Hofhansl > Attachments: 14628-0.98.txt > > > I noticed that (at least in 0.98 - master is entirely different) we create ByteBuffer just to create a byte[], which is then used to create a KeyValue. > We can save the creation of the ByteBuffer and hence save allocating an extra object for each KV we find by creating the byte[] directly. > In a Phoenix count\(*) query that saved from 10% of runtime. -- This message was sent by Atlassian JIRA (v6.3.4#6332)