[Checkins] SVN: relstorage/branches/jim-speedtest/relstorage/tests/speedtest.py Increased the object cache size to allow all objects to remain in
Jim Fulton
jim at zope.com
Tue Oct 6 14:26:49 EDT 2009
Log message for revision 104839:
Increased the object cache size to allow all objects to remain in
memory.
Changed:
U relstorage/branches/jim-speedtest/relstorage/tests/speedtest.py
-=-
Modified: relstorage/branches/jim-speedtest/relstorage/tests/speedtest.py
===================================================================
--- relstorage/branches/jim-speedtest/relstorage/tests/speedtest.py 2009-10-06 15:55:39 UTC (rev 104838)
+++ relstorage/branches/jim-speedtest/relstorage/tests/speedtest.py 2009-10-06 18:26:49 UTC (rev 104839)
@@ -170,7 +170,7 @@
return end - start
def read_test(self, storage, n):
- db = DB(storage)
+ db = DB(storage, cache_size=len(self.data_to_store)+400)
start = time.time()
for i in range(txn_count):
conn = db.open()
More information about the checkins
mailing list