Re: git and bzr
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Nov 28, 2006, 22:16 UTC
- Message-ID
- <200611282316.27580.jnareb@gmail.com>
- In-Reply-To
- <456CB13D.6090407@utoronto.ca>
Aaron Bentley wrote:
Show 18 quoted lines
> 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