Skip to content

Commit 34f0139

Browse files
committed
Added changelog information
1 parent a33e8d5 commit 34f0139

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

doc/source/changes.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Changelog
33
#########
44

5+
*****
6+
0.5.3
7+
*****
8+
* 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.
9+
510
*****
611
0.5.2
712
*****

gitdb/test/performance/test_pack.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
from time import time
1616
import random
1717

18+
from nose import SkipTest
19+
1820
class TestPackedDBPerformance(TestBigRepoR):
1921

20-
def _test_pack_random_access(self):
22+
def test_pack_random_access(self):
2123
pdb = PackedDB(os.path.join(self.gitrepopath, "objects/pack"))
2224

2325
# sha lookup
@@ -66,6 +68,7 @@ def _test_pack_random_access(self):
6668
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)
6769

6870
def test_correctness(self):
71+
raise SkipTest("Takes too long, enable it if you change the algorithm and want to be sure you decode packs correctly")
6972
pdb = PackedDB(os.path.join(self.gitrepopath, "objects/pack"))
7073
# disabled for now as it used to work perfectly, checking big repositories takes a long time
7174
print >> sys.stderr, "Endurance run: verify streaming of objects (crc and sha)"

0 commit comments

Comments
 (0)