log dir is slow in development-rich-root
Bug #374730 reported by
Robert Collins
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
John A Meinel | ||
2.0 |
Fix Released
|
Medium
|
John A Meinel |
Bug Description
The optimisations for packs pessimise for development-
Related branches
lp://staging/~jameinel/bzr/2.0.1-faster-log-dir-bug374730
- Robert Collins (community): Approve
-
Diff: 843 lines5 files modifiedNEWS (+5/-0)
bzrlib/inventory.py (+146/-0)
bzrlib/tests/per_inventory/__init__.py (+41/-4)
bzrlib/tests/per_inventory/basics.py (+99/-147)
bzrlib/tests/test_inv.py (+218/-0)
Changed in bzr: | |
assignee: | nobody → John A Meinel (jameinel) |
Changed in bzr: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Ian and I have a basic outline of how to improve this.
At the moment, 'log DIR' is implemented by iterating over all files in every revision, and checking to see if it was modified.
Instead, we should look at the list of changes (which can now be computed quite quickly), and see if any of those are underneath $DIR.