looms: compatibility, performance, alternatives?

Robert Collins robertc at robertcollins.net
Sun Jan 11 20:56:19 GMT 2009


On Fri, 2009-01-09 at 13:55 -0500, David Reitter wrote:
> On 9 Jan 2009, at 11:46, David Reitter wrote:
> >
> > So maybe maintaining many different branches and one (downstream)  
> > trunk would be the best thing for us.  However, creating a new  
> > branch on the server takes about 4m30s, and costs in excess of 300MB  
> > server space.  (The actual difference between trunk and branch is  
> > minimal.)
> > When created with --stacked, the branch still takes more than a  
> > minute to create and 108MB space on the server.  Given that it is a  
> > shared repository, I didn't think --stacked was necessary.  Also, it  
> > appears as if the working tree is populated in the target branch,  
> > and that accounts for pretty much all of the space usage.  Do I need  
> > to re-create this repository with --no-trees?
> 
> Indeed, re-creating it with "init-repo --no-trees" helped a lot.   
> Creating the new branch is now instantaneous and cheap in terms of  
> disk-space, as expected.
> "bzr switch" is fast as well, but requires the use of checkouts.

You can use --1.9 as a format rather than development2 - and should.
--development2 was a development edition with the same guts but won't be
readable by as many later versions as the --1.9 format which is the
production release of the format.

> > bzr log takes about 40seconds for my test file (way too long),  bzr  
> > log --short takes 26sec (still too long).
> 
> BRAEBURN:src dr$ time bzr log --short -l 10 ChangeLog
> ...
> real    0m18.365s
> 
> This is on a modern machine.  I understand it's a known behavior (and  
> hopefully seen as a known problem).

Indeed it is. Per-file logging is currently expensive because mapping a
file id to a path in an inventory requires processing the entire
inventory that each revision has.

-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: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090112/b5087df4/attachment.pgp 


More information about the bazaar mailing list