~bzr-pqm/bzr/bzr.dev

  • Committer: John Arbash Meinel
  • Date: 2008-08-20 23:11:59 UTC
  • Revision ID: john@arbash-meinel.com-20080820231159-lp0gxglwyxveiot7
Some more data points for the time/repack tradeoff.
Instead of always using copy() we can use a multi-step process.
1) Always add bytes ignoring flush until _default_min_compression
2) Add bytes using Z_SYNC_FLUSH until we hit the page limit,
   and then repack N times.
3) After repacking N times, switch to using copy() before adding
   a new node with Z_SYNC_FLUSH.
4) If we re-use the copy() compressor we will get max packing
   or we can just use the SYNC compressor until it is full,
   and then return the copy.
Current stats are done using the artificial data. We should
produce a set using real-world data so we can pick the best
time/space tradeoff. Further, we can use this information to
find the best space values if someone issues a 'bzr pack'
command. Since that is generally a 'spend more time to get
better results' command.
Filename Latest Rev Last Changed Committer Comment Size
..
bzrlib 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
contrib 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
doc 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
man1 2425.1.1 17 years ago Robert Collins ``make docs`` now creates a man page at ``man1/bzr Diff
tools 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
.bzrignore 3641.3.1 16 years ago John Arbash Meinel Bring in the btree_index and chunk_writer code and 942 bytes Diff Download File
.rsyncexclude 1185.33.36 18 years ago Martin Pool Exclude more files from dumb-rsync upload 203 bytes Diff Download File
BRANCH.TODO 3015.4.13 16 years ago Daniel Watkins Cleaned out BRANCH.TODO. 150 bytes Diff Download File
File bzr 3624.1.1 16 years ago John Arbash Meinel Bring in 1.6rc2, and update NEWS. Some things tha 5.2 KB Diff Download File
bzr.ico 1861.2.16 18 years ago Alexander Belchenko new official bzr.ico 7.2 KB Diff Download File
COPYING.txt 1861.2.9 18 years ago Alexander Belchenko rename gpl.txt => COPYING.txt 17.5 KB Diff Download File
File generate_docs.py 2911.6.1 17 years ago Blake Winton Change 'print >> f,'s to 'f.write('s. 2.9 KB Diff Download File
INSTALL 2696.2.4 17 years ago Aaron Bentley Fix typo 1.4 KB Diff Download File
Makefile 3619.3.1 16 years ago Andrew Bennetts Move the notes on writing tests out of HACKING int 8.5 KB Diff Download File
NEWS 3640.1.1 16 years ago John Arbash Meinel Merge in bzr-1.6rc4 including the fix for bug #256 266 KB Diff Download File
profile_imports.py 1996.3.36 18 years ago John Arbash Meinel [merge] bzr.dev 2070 5.4 KB Diff Download File
README 3286 16 years ago Canonical.com Patch Queue Manager Start 1.4 development 3.3 KB Diff Download File
File setup.py 3641.3.1 16 years ago John Arbash Meinel Bring in the btree_index and chunk_writer code and 19.8 KB Diff Download File
TODO 2382.2.5 17 years ago Martin Pool Contents of TODO file moved into bug tracker 115 bytes Diff Download File