[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] [PATCH] arch speedups on big trees
From: |
Chris Mason |
Subject: |
Re: [Gnu-arch-users] [PATCH] arch speedups on big trees |
Date: |
Tue, 23 Dec 2003 16:21:11 -0500 |
Ok, here is try #3, which makes a {arch}/id-mapping directory that
contains a file for each explicit id in the source tree. The contents
of that file indicate the path of the source file owning the id. The
mapping directory is created at the end of build_revision if it doesn't
already exist.
It keeps the code from try #1, using the mapping directory to make sure
we selectively inventory the correct files/directories. This isn't the
optimal method, but it helps minimize the patch size.
The time needed to tla replay my 100 changeset test set is now 6
seconds. Slightly slower than attempt #1, due to extra stats and
reads. tla update is still quite slow, I suspect Tom's other
suggestions will help there but haven't spent any time on it yet.
tla {add,delete,mv} and apply_changeset are adapted to maintain the
reverse mapping if it exists. tla move-id was forgotten, I'll get it if
Tom thinks the ideas so far have merit.
Still todo:
tree-lint should make sure the mapping directory is correct.
tla move-id
testing on symlinks
testing,testing,testing
-chris
arch-faster-3.diff.gz
Description: GNU Zip compressed data
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, (continued)
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Andrew Suffield, 2003/12/19
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Tom Lord, 2003/12/19
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Andrew Suffield, 2003/12/19
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Tom Lord, 2003/12/19
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Chris Mason, 2003/12/19
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Tom Lord, 2003/12/19
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Chris Mason, 2003/12/19
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Andrew Suffield, 2003/12/19
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Andrew Suffield, 2003/12/19
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Tom Lord, 2003/12/19
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees,
Chris Mason <=
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Chris Mason, 2003/12/24
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Miles Bader, 2003/12/24
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Chris Mason, 2003/12/24
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Chris Mason, 2003/12/19
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Chris Mason, 2003/12/19
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Tom Lord, 2003/12/19
- Re: [Gnu-arch-users] [PATCH] arch speedups on big trees, Chris Mason, 2003/12/19