git and bzr
Jakub Narebski
jnareb at gmail.com
Tue Nov 28 22:16:27 GMT 2006
Aaron Bentley wrote:
> Jakub Narebski wrote:
>> Well, I gues that with "annotate friendly" (weave or knit) storage
>> annotate/blame would be faster. But fast annotate was not one of the
>> design goals of git.
>>
>> How fast is "bzr annotate"?
>
> $ time bzr annotate builtins.py > /dev/null
>
> real 0m1.479s
> user 0m1.430s
> sys 0m0.030s
>
> builtins.py has 953 ancestor revisions (i.e. revisions that modified
> it) and 3016 lines.
>
> That's on a machine with 4141.87 Bogomips. I did optimize annotate
> slightly, but I'm submitting the optimization for our 0.14.0 release.
Hmmm... git-blame (without contents moving or rename detection) takes
around 2s user+sys on 2002 BogoMIPS machine, as compared to 1.5s
user+sys for bzr annotate on 4141.87 BogoMIPS machine.
revision.c has 1208 lines, 62 unique commits in git-blame output, 90
commits history, 102 commits full history.
--
Jakub Narebski
Poland
More information about the bazaar
mailing list