Log performance with stacked branches
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
Log operations are unacceptably slow with stacked branches.
I have created a branch stacked on the Emacs bzr repository (I have since upgraded locally to 1.10).
Here are some examples of "log" operations on a single file that has just 5 revisions.
~/Projects/
...
real 1m20.618s
user 0m24.429s
sys 0m2.307s
~/Projects/
....
real 0m34.595s
user 0m15.712s
sys 0m1.036s
Similar operations are much faster with a non-stacked branch.
For comparison:
time cvs log sigaction.c
...
real 0m0.735s
user 0m0.026s
sys 0m0.013s
(Note that this has to query a server, too, and has twice as many revisions for some reason.)
I would probably say that anything <5 seconds for a "log" command would make the command usable.
Btw, thanks for all your work!
the stacked branch was created with
bzr branch --stacked http:// bzr.notengoamig os.org/ emacs-ce/ trunk/
The performance for "log" with an unstacked branch:
time bzr log sigaction.c >/dev/null
real 0m25.898s
user 0m24.900s
sys 0m0.595s
time bzr log --short sigaction.c >/dev/null
real 0m15.442s
user 0m15.020s
sys 0m0.400s