Merge lp:~jameinel/bzr/1.16-no-first-delta-index into lp:~bzr/bzr/trunk-old
Proposed by
John A Meinel
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~jameinel/bzr/1.16-no-first-delta-index |
Merge into: | lp:~bzr/bzr/trunk-old |
Diff against target: | 130 lines |
To merge this branch: | bzr merge lp:~jameinel/bzr/1.16-no-first-delta-index |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrew Bennetts | Approve | ||
Review via email: mp+6991@code.launchpad.net |
To post a comment you must log in.
This makes a minor modification to the internal DeltaIndex structure for --dev6 repositories.
Namely, it makes generating the first _index "lazy". The idea is that until we do 'make_delta' or a similar function, we don't actually need the index. This has a fairly big impact on 'bzr commit', especially when combined with: /code.edge. launchpad. net/~jameinel/ bzr/1.16- commit- fulltext/ +merge/ 6988
https:/
With both patches, the peak memory consumption is right around 2x a single file content. I know the last bits that we could poke at to drop it down more, but it requires a bit more complexity.
As an added bonus, with both patches applied the time to commit of a single 90MB file in dev6 is down from 7.3s to 4.2s. I would imagine that the 'initial commit' benchmarks for large projects will also be down significantly.