aboutsummaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2006-12-23 02:34:51 -0500
committerJunio C Hamano <junkio@cox.net>2006-12-29 11:36:45 -0800
commit2dee8af67688bb24575dd6b07106bc41d9997923 (patch)
tree15393c736d781e1140853698cb3188fc79a37908 /environment.c
parenta53128b60162d7a84adca4206540df5b8e3d9dc8 (diff)
downloadgit-2dee8af67688bb24575dd6b07106bc41d9997923.tar.gz
git-2dee8af67688bb24575dd6b07106bc41d9997923.tar.xz
Test suite for sliding window mmap implementation.
This is a basic set of tests for the sliding window mmap. We mostly focus on the verify-pack and pack-objects implementations (including delta reuse) as these commands appear to cover the bulk of the affected portions of sha1_file.c. The test cases don't verify the virtual memory size used, as this can differ from system to system. Instead it just verifies that we can run with very low values for core.packedGitLimit and core.packedGitWindowSize. Adding pack_report() to the end of both builtin-verify-pack.c and builtin-pack-objects.c and manually inspecting the statistics output can help to verify that the total virtual memory size attributed to pack mmap usage is what one might expect on the current system. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'environment.c')
0 files changed, 0 insertions, 0 deletions