annotate tests/test-undo.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 4f81068ed8cd
children 7544700fd931
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
1 checking changesets
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
2 checking manifests
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
3 crosschecking files in changesets and manifests
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
4 checking files
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
5 1 files, 1 changesets, 1 total revisions
784
853bfbf1a312 Fix tests for short changeset hashes and hidden manifest hashes
mpm@selenic.com
parents: 749
diff changeset
6 changeset: 0:acb14030fe0a
388
398737777644 Fixed tests for displaying tags in hg history and hg parents.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 382
diff changeset
7 tag: tip
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
8 user: test
967
1f3710636b45 [PATCH] Print timezone offset when outputting dates
Samuel Tardieu <sam@rfc1149.net>
parents: 925
diff changeset
9 date: Thu Jan 1 00:00:00 1970 +0000
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
10 summary: test
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
11
502
509e62469cb1 Update undo test
mpm@selenic.com
parents: 388
diff changeset
12 rolling back last transaction
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
13 checking changesets
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
14 checking manifests
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
15 crosschecking files in changesets and manifests
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
16 checking files
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
17 0 files, 0 changesets, 0 total revisions
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
18 A a