looms v. rebase (or, Where are the blogs?!) [was: Re: Will re-basing support be added into Bazaar core ?]
Robert Collins
robert.collins at canonical.com
Wed Apr 22 11:29:11 BST 2009
On Wed, 2009-04-22 at 18:26 +0900, Stephen J. Turnbull wrote:
>
> No, of course not. My workflow involves branching on the order of
> every fifteen minutes, and a commit on every save. No Python-based
> tool can keep up with that, simply executing the interpreter and
> importing a couple of modules implies non-negligible delay. So it
> would take a big change in workflow, substantial time, and effort to
> try looms in practice.
Its about 200ms on a slow machine to start bzr [to do useful things, not
just the command handling infrastructure!] once you've loaded bzr once,
with loom and other plugins present.
Branching bzr.dev is:
$ time bzr branch bzr.dev demo3
Branched 4300 revision(s).
real 0m0.777s
user 0m0.612s
sys 0m0.076s
for me. That smells slow, poking, ... ah yes, it gets a revision tree
which in my bzr.dev repo (1.9) is O(tree_size); in dev6 it should be
better... ah it assumes every tree is subtree capable.. fixing - oh
interesting. 49% in bzrlib.config get_user_option. I'll file a couple of
patches to help with this tomorrow.
Committing is 1.3 seconds on bzr.dev. With the dev6 format its 0.7
seconds (but we should be tuning that more - its inexcusably slow).
status is 0.3 seconds.
Oh, python 2.6 FWIW.
Now, 0.7 seconds is slow. But its lower limit with the dev6 format
should approach that of status - and status is not as fast as it can
possibly be made I think, though loading our code is becoming a greater
and greater burden - and we'll keep fixing and pushing fixes down the
stack as needed.
How low do these numbers need to be not to force a change in workflow
for you, should you use bzr.
-Rob
-------------- 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/20090422/54d4e288/attachment.pgp
More information about the bazaar
mailing list