Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-simple-update.out @ 1534:80a3d6a0af71
Optimize manifest.add
Testing shows that manifest.add is spending a significant percentage of
its time running calcoffsets and doing text = "".join(addlist). This
patch removes the need for both of these by storying the manifest in a
character array, and using a modified bisect search to find lines without
the help of a separate index of line offsets.
manifest.add was also reworked to push delta construction/combination into the
main loop.
Time to apply 2751 patches (without psyco, ext3 noatime,data=writeback):
Stock hg: 4m45s real 3m32s user 55s sys
patched: 2m48s real 1m53s user 43s sys
quilt: 2m30s real 45s user 50s sys
(quilt does much more io...)
author | mason@suse.com |
---|---|
date | Fri, 11 Nov 2005 18:20:22 -0800 |
parents | 5a034646e472 |
children | 3053fc33f545 |
rev | line source |
---|---|
767
61ed30e82b27
Update tests to match new addremove chattiness.
Bryan O'Sullivan <bos@serpentine.com>
parents:
749
diff
changeset
|
1 adding foo |
331 | 2 checking changesets |
3 checking manifests | |
4 crosschecking files in changesets and manifests | |
5 checking files | |
6 1 files, 1 changesets, 1 total revisions | |
404 | 7 pulling from ../branch |
331 | 8 searching for changes |
9 adding changesets | |
10 adding manifests | |
775 | 11 adding file changes |
12 added 1 changesets with 1 changes to 1 files | |
404 | 13 (run 'hg update' to get a working copy) |
331 | 14 checking changesets |
15 checking manifests | |
16 crosschecking files in changesets and manifests | |
17 checking files | |
18 1 files, 2 changesets, 2 total revisions | |
19 foo | |
20 bar | |
21 6f4310b00b9a147241b071a60c28a650827fb03d 644 foo |