You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2010/04/28 02:42:33 UTC

[jira] Created: (HBASE-2496) Less ArrayList churn on the scan path

Less ArrayList churn on the scan path
-------------------------------------

                 Key: HBASE-2496
                 URL: https://issues.apache.org/jira/browse/HBASE-2496
             Project: Hadoop HBase
          Issue Type: Improvement
    Affects Versions: 0.20.3
            Reporter: Jean-Daniel Cryans
            Assignee: Jean-Daniel Cryans
             Fix For: 0.20.5, 0.21.0


Doing some profiling when testing the scanning speed of 0.20.4, I saw that we are spending a lot of time instantiating ArrayLists when scanning and that we could sometime set the right size of the arrays. I don't expect big improvements for short scans, but people like us who are scanning in batches of 10k could get some nice speedups.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HBASE-2496) Less ArrayList churn on the scan path

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans resolved HBASE-2496.
---------------------------------------

    Hadoop Flags: [Reviewed]
      Resolution: Fixed

Committed to branch and trunk (and I added some more finals in ColumnCount). Thanks for reviewing guys!

> Less ArrayList churn on the scan path
> -------------------------------------
>
>                 Key: HBASE-2496
>                 URL: https://issues.apache.org/jira/browse/HBASE-2496
>             Project: Hadoop HBase
>          Issue Type: Improvement
>    Affects Versions: 0.20.3
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.20.5, 0.21.0
>
>         Attachments: HBASE-2496.patch
>
>
> Doing some profiling when testing the scanning speed of 0.20.4, I saw that we are spending a lot of time instantiating ArrayLists when scanning and that we could sometime set the right size of the arrays. I don't expect big improvements for short scans, but people like us who are scanning in batches of 10k could get some nice speedups.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.