Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F3F8918782 for ; Sun, 13 Mar 2016 17:40:34 +0000 (UTC) Received: (qmail 98407 invoked by uid 500); 13 Mar 2016 17:40:34 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 98288 invoked by uid 500); 13 Mar 2016 17:40:34 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 98266 invoked by uid 99); 13 Mar 2016 17:40:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Mar 2016 17:40:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D1EB12C14FB for ; Sun, 13 Mar 2016 17:40:33 +0000 (UTC) Date: Sun, 13 Mar 2016 17:40:33 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-15452) Consider removing checkScanOrder from StoreScanner.next MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Lars Hofhansl created HBASE-15452: ------------------------------------- Summary: Consider removing checkScanOrder from StoreScanner.next Key: HBASE-15452 URL: https://issues.apache.org/jira/browse/HBASE-15452 Project: HBase Issue Type: Bug Reporter: Lars Hofhansl In looking why we spent so much time in StoreScanner.next when doing a simple Phoenix count\(*) query I came across checkScanOrder. Not only is this a function dispatch (that the JIT would eventually inline), it also requires setting the prevKV member for every Cell encountered. Removing that logic a yields measurable end-to-end improvement of 5-20% (in 0.98). I will repeat this test on my work machine tomorrow. I think we're stable enough to remove that check anyway. -- This message was sent by Atlassian JIRA (v6.3.4#6332)