[MERGE] add performance tweaks.

Robert Collins robertc at robertcollins.net
Mon Jun 12 10:24:28 BST 2006


On Sun, 2006-06-11 at 20:30 -0500, John Arbash Meinel wrote:
> Michael Ellerman wrote:
> > On 6/11/06, Robert Collins <robertc at robertcollins.net> wrote:
> >> On Sun, 2006-06-11 at 22:34 +1000, Robert Collins wrote:
> 
> ...
> 
> > 
> > Yeah it hurts, and for enormous trees I'm not sure it's really useful.
> > 
> > I have this in my todo list from yonks ago:
> >  - bzr add -q of a kernel tree takes ~30 seconds
> >  - bzr add of a kernel tree takes 1.06m
> >  - perhaps bzr add should just print the top level things that were added
> >    and mention that directories are being recursed into
> >  - then -v can select the current behaviour and -q can print nothing
> > 
> > But never got around to coding it.
> > 
> > cheers
> 
> Actually, I was wondering about queuing up 10+ entries, and then writing
> them out with a 'writelines' call. That should decrease the overall
> overhead (potentially by 10x, though more likely only some fraction of
> that).

Both of these things sound good. :).

I'd like to see this by default:
$ bzr add
Ignored 306 file(s).
Added 424 files in 10 subdirectories.
$

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060612/d18f4ca1/attachment.pgp 


More information about the bazaar mailing list