/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: John Arbash Meinel
  • Date: 2011-03-18 11:51:58 UTC
  • Revision ID: john@arbash-meinel.com-20110318115158-6s4xs41w01x3xcxv
Fix bug #737234. Preload all entries for iter_entries_by_dir().

None of the users of the api break out of the loop early. So if
the request made is going to touch all entries, then it is best
to just read them all in, and pre-populate all of the
InventoryEntries. Otherwise, ordering-by-directory was fairly
worst-case in large trees, because each directory would then
read all of its file-ids, which would hit most of the CHKMap,
but if it couldn't all be cached in memory, it would be
basically fully (re)read for every directory.
This drops reading gcc-linaro's full inventory from 4m30s to 11s
locally, and decreases the amount of data read from 8GB down to
128MB.
Filename Latest Rev Last Changed Committer Comment Size
..
File build-packages.sh 5588.1.1 15 years ago Max Bowsher Add a consistent header comment to tools/packaging 381 bytes Diff Download File
File lp-upload-release 3778.3.4 17 years ago Martin Pool lp-upload-release now handles names like bzr-1.8.t 1.6 KB Diff Download File
File update-changelogs.sh 5588.1.1 15 years ago Max Bowsher Add a consistent header comment to tools/packaging 864 bytes Diff Download File
File update-control.sh 5588.1.1 15 years ago Max Bowsher Add a consistent header comment to tools/packaging 932 bytes Diff Download File
File update-packaging-branches.sh 5390.1.1 15 years ago Max Bowsher Update references to the PPA packaging branches to 765 bytes Diff Download File