summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-06-10 22:05:36 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-06-10 22:05:36 +0200
commit34f01396b913220fe5b19e1f8e33f2d3f4ec2ce5 (patch)
tree90830a38cb1d864dabb0277a457b0f9a5d1d4d3b
parenta33e8d55d4d77d842edea94a78d801b23bb90294 (diff)
downloadgitdb-34f01396b913220fe5b19e1f8e33f2d3f4ec2ce5.tar.gz
Added changelog information
-rw-r--r--doc/source/changes.rst5
-rw-r--r--gitdb/test/performance/test_pack.py5
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/source/changes.rst b/doc/source/changes.rst
index 7b8ebec..999cc13 100644
--- a/doc/source/changes.rst
+++ b/doc/source/changes.rst
@@ -3,6 +3,11 @@ Changelog
#########
*****
+0.5.3
+*****
+* Added support for smmap. SmartMMap allows resources to be managed and controlled. This brings the implementation closer to the way git handles memory maps, such that unused cached memory maps will automatically be freed once a resource limit is hit. The memory limit on 32 bit systems remains though as a sliding mmap implementation is not used for performance reasons.
+
+*****
0.5.2
*****
* Improved performance of the c implementation, which now uses reverse-delta-aggregation to make a memory bound operation CPU bound.
diff --git a/gitdb/test/performance/test_pack.py b/gitdb/test/performance/test_pack.py
index da952b1..2061802 100644
--- a/gitdb/test/performance/test_pack.py
+++ b/gitdb/test/performance/test_pack.py
@@ -15,9 +15,11 @@ import os
from time import time
import random
+from nose import SkipTest
+
class TestPackedDBPerformance(TestBigRepoR):
- def _test_pack_random_access(self):
+ def test_pack_random_access(self):
pdb = PackedDB(os.path.join(self.gitrepopath, "objects/pack"))
# sha lookup
@@ -66,6 +68,7 @@ class TestPackedDBPerformance(TestBigRepoR):
print >> sys.stderr, "PDB: Obtained %i streams by sha and read all bytes totallying %i KiB ( %f KiB / s ) in %f s ( %f streams/s )" % (max_items, total_kib, total_kib/elapsed , elapsed, max_items / elapsed)
def test_correctness(self):
+ raise SkipTest("Takes too long, enable it if you change the algorithm and want to be sure you decode packs correctly")
pdb = PackedDB(os.path.join(self.gitrepopath, "objects/pack"))
# disabled for now as it used to work perfectly, checking big repositories takes a long time
print >> sys.stderr, "Endurance run: verify streaming of objects (crc and sha)"