hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-15452) Consider removing checkScanOrder from StoreScanner.next
Date Sun, 13 Mar 2016 17:40:33 GMT
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

View raw message