[ https://issues.apache.org/jira/browse/HBASE-14628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14966154#comment-14966154 ]
Hudson commented on HBASE-14628: -------------------------------- FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #1117 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/1117/]) HBASE-14628 [0.98] Save object creation for scanning with block (larsh: rev d5867a4d95ba2c795b411bf0537551f476653c49) * hbase-server/src/test/java/org/apache/hadoop/hbase/io/encoding/TestDataBlockEncoders.java * hbase-common/src/main/java/org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.java * hbase-prefix-tree/src/main/java/org/apache/hadoop/hbase/codec/prefixtree/PrefixTreeSeeker.java * hbase-common/src/main/java/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.java > [0.98] 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 > Assignee: Lars Hofhansl > Fix For: 0.98.16 > > Attachments: 14628-0.98-v2.txt, 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)