Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-merge6.out @ 2079:ee96ca273f32
New lazy index code for revlogs.
This tunes for large repositories. It does not read the whole
index file in one big chunk, but tries to buffer reads in more
reasonable chunks instead.
Search speeds are improved in two ways. When trying to find a
specific sha hash, it searches from the end of the file backward.
More recent entries are more likely to be relevant, especially the
tip.
Also, this can load only the mapping of nodes to revlog index number.
Loading the map uses less cpu (no struct.unpack) and much less
memory than loading both the map and the index.
This cuts down the time for hg tip on the 80,000 changeset
kernel repo from 1.8s to 3.69s. Most commands the pull a single
rev out of a big index get roughly the same benefit. Commands
that read the whole index are not slower.
author | mason@suse.com |
---|---|
date | Tue, 04 Apr 2006 16:47:12 -0400 |
parents | ced2d3620f95 |
children | b2ae81a7df29 |
rev | line source |
---|---|
616 | 1 pulling from ../B1 |
2 searching for changes | |
3 adding changesets | |
4 adding manifests | |
775 | 5 adding file changes |
1043 | 6 added 1 changesets with 1 changes to 1 files (+1 heads) |
2019
ced2d3620f95
add merge command. means same thing as "update -m".
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1043
diff
changeset
|
7 (run 'hg heads' to see heads, 'hg merge' to merge) |
616 | 8 bar should remain deleted. |
993 | 9 f9b0e817f6a48de3564c6b2957687c5e7297c5a0 644 foo |
616 | 10 pulling from ../A2 |
11 searching for changes | |
12 adding changesets | |
13 adding manifests | |
775 | 14 adding file changes |
1043 | 15 added 1 changesets with 0 changes to 0 files (+1 heads) |
2019
ced2d3620f95
add merge command. means same thing as "update -m".
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1043
diff
changeset
|
16 (run 'hg heads' to see heads, 'hg merge' to merge) |
616 | 17 bar should remain deleted. |
990 | 18 f9b0e817f6a48de3564c6b2957687c5e7297c5a0 644 foo |