You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Filipe Manana (JIRA)" <ji...@apache.org> on 2010/12/29 21:27:45 UTC

[jira] Created: (COUCHDB-1000) Small cleanups in couch_db_updater

Small cleanups in couch_db_updater
----------------------------------

                 Key: COUCHDB-1000
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1000
             Project: CouchDB
          Issue Type: Improvement
            Reporter: Filipe Manana
            Assignee: Filipe Manana
            Priority: Trivial
         Attachments: COUCHDB-1000.patch

The following trivial patch avoids doing a full linear search in some situations and avoids unnecessary calls to couch_btree functions and doing list comprehensions when the list of _local docs is empty.

It also seems to add a little, performance gain:

http://graphs.mikeal.couchone.com/#/graph/8bf31813eef7c0b7e37d1ea259020a0b



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


[jira] Closed: (COUCHDB-1000) Small cleanups in couch_db_updater

Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filipe Manana closed COUCHDB-1000.
----------------------------------

    Resolution: Fixed

Applied to trunk

> Small cleanups in couch_db_updater
> ----------------------------------
>
>                 Key: COUCHDB-1000
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1000
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>            Priority: Trivial
>         Attachments: COUCHDB-1000.patch
>
>
> The following trivial patch avoids doing a full linear search in some situations and avoids unnecessary calls to couch_btree functions and doing list comprehensions when the list of _local docs is empty.
> It also seems to add a little, performance gain:
> http://graphs.mikeal.couchone.com/#/graph/8bf31813eef7c0b7e37d1ea259020a0b

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


[jira] Commented: (COUCHDB-1000) Small cleanups in couch_db_updater

Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975903#action_12975903 ] 

Paul Joseph Davis commented on COUCHDB-1000:
--------------------------------------------

+1

> Small cleanups in couch_db_updater
> ----------------------------------
>
>                 Key: COUCHDB-1000
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1000
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>            Priority: Trivial
>         Attachments: COUCHDB-1000.patch
>
>
> The following trivial patch avoids doing a full linear search in some situations and avoids unnecessary calls to couch_btree functions and doing list comprehensions when the list of _local docs is empty.
> It also seems to add a little, performance gain:
> http://graphs.mikeal.couchone.com/#/graph/8bf31813eef7c0b7e37d1ea259020a0b

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


[jira] Updated: (COUCHDB-1000) Small cleanups in couch_db_updater

Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filipe Manana updated COUCHDB-1000:
-----------------------------------

    Attachment: COUCHDB-1000.patch

Applying it to trunk if no objections raised

> Small cleanups in couch_db_updater
> ----------------------------------
>
>                 Key: COUCHDB-1000
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1000
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>            Priority: Trivial
>         Attachments: COUCHDB-1000.patch
>
>
> The following trivial patch avoids doing a full linear search in some situations and avoids unnecessary calls to couch_btree functions and doing list comprehensions when the list of _local docs is empty.
> It also seems to add a little, performance gain:
> http://graphs.mikeal.couchone.com/#/graph/8bf31813eef7c0b7e37d1ea259020a0b

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