couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r680420 - /incubator/couchdb/trunk/src/couchdb/couch_btree.erl
Date Mon, 28 Jul 2008 17:46:00 GMT
Author: damien
Date: Mon Jul 28 10:45:59 2008
New Revision: 680420

URL: http://svn.apache.org/viewvc?rev=680420&view=rev
Log:
Adjusted btree chunk size to give a 25% performance increase in random testing.

Modified:
    incubator/couchdb/trunk/src/couchdb/couch_btree.erl

Modified: incubator/couchdb/trunk/src/couchdb/couch_btree.erl
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/src/couchdb/couch_btree.erl?rev=680420&r1=680419&r2=680420&view=diff
==============================================================================
--- incubator/couchdb/trunk/src/couchdb/couch_btree.erl (original)
+++ incubator/couchdb/trunk/src/couchdb/couch_btree.erl Mon Jul 28 10:45:59 2008
@@ -16,7 +16,7 @@
 -export([foldr/3, foldr/4, fold/4, fold/5, full_reduce/1, final_reduce/2]).
 -export([fold_reduce/7, lookup/2, get_state/1, set_options/2, test/1, test/0]).
 
--define(CHUNK_THRESHOLD, 16#fff).
+-define(CHUNK_THRESHOLD, 16#4ff).
 
 -record(btree,
     {fd,



Mime
View raw message