[MERGE] faster log

Ian Clatworthy ian.clatworthy at internode.on.net
Sun Jan 18 17:23:53 GMT 2009


John Arbash Meinel wrote:
> Ian Clatworthy wrote:
> ...
> 
>> Benchmarking results are attached for bzr.dev r3943 (with
>> log_format=short set) vs the patch. The branch used is
>> emacs-merges (http://bzr.notengoamigos.org/) which has
>> around 100K revisions total, 93K on the mainline. The
>> branch format is 1.9. In summary, one use case is slower
>> (explainably so) while the others vary from no change
>> to dramatically better.

Hmmm - the base numbers are crap because of the "is False"
bug causing --short in bzr.dev to take longer than it needs.
My "explainably so" comment is dodgy as well.

Here's a new patch with a tweak to make incremental file
logging much faster (now 2.0 seconds). In fact, all the
"recent" (log -r-10..) tasks now complete in 0.2 to 2.2
seconds. The 10 second drop was because -r10.. was
loading all of history in the process of calculating
the revision range! (FWIW, -r-10..-1 doesn't.)

BTW, the latest version of bzr-usertest has details of
the exact command lines used for each task if you're
curious and/or wish to run them yourself.

I'll post a new set of matching figures later today
(after I get some sleep).

Ian C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log-refactor-3.patch
Type: text/x-diff
Size: 42680 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090119/1dd5f44c/attachment-0001.bin 


More information about the bazaar mailing list