login
Header Space

 
 

Re: More precise tag following

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Shawn O. Pearce <spearce@...>, Junio C Hamano <junkio@...>, <git@...>
Date: Saturday, January 27, 2007 - 2:40 pm

Linus Torvalds wrote:
"=20

Okay, let's try to assume for now that nobody said "git blame".  Instead =
let's say:

git rev-list and git log (with or without -p) perform poorly when invoked=
 with a pathspec.

it=20
t=20
=20

I agreee with those numbers.  However, on a converted KDE repo, they are =
*completely* different:

git log kdelibs/README takes 1:18.  One minute, eighteen seconds.
git rev-list and git blame take roughly the same time.

This particular file has 64 revisions.  However there are ~ 375000 revisi=
ons in the converted repo.

My and also Shawn's point was not about the speed of git blame itself.  I=
t is about pathspec/rev operations.  The operation time does not scale wi=
th the number of changes to the file/object/call-it-whatever, but with th=
e number of total commits in the branch.

That's what we were getting at.  Not the superiority of git blame (no iro=
ny) and thus reduced speed, but the algorithmic deficiency of any operati=
on on a pathspec/object, which can be easily fixed.

cheers
  simon

--=20
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low =E2=82=AC=E2=82=AC=E2=82=AC NOW!1  +++=
      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
More precise tag following, Junio C Hamano, (Fri Jan 26, 7:07 am)
Re: More precise tag following, Shawn O. Pearce, (Sat Jan 27, 4:01 am)
Re: More precise tag following, Linus Torvalds, (Sat Jan 27, 1:22 pm)
Re: More precise tag following, Shawn O. Pearce, (Sun Jan 28, 3:40 am)
Re: More precise tag following, Jeff King, (Sat Jan 27, 4:16 pm)
Re: More precise tag following, Linus Torvalds, (Sat Jan 27, 6:39 pm)
Re: More precise tag following, Jeff King, (Sat Jan 27, 7:52 pm)
Re: More precise tag following, Theodore Tso, (Sat Jan 27, 10:39 pm)
Re: More precise tag following, Jeff King, (Sun Jan 28, 9:15 am)
Re: More precise tag following, Randal L. Schwartz, (Sat Jan 27, 11:17 pm)
Re: More precise tag following, Simon 'corecode' Schubert..., (Sat Jan 27, 2:40 pm)
Re: More precise tag following, Linus Torvalds, (Sat Jan 27, 3:15 pm)
Re: More precise tag following, Chris Lee, (Sat Jan 27, 3:36 pm)
Re: More precise tag following, Eric Wong, (Mon Jan 29, 7:00 pm)
Re: More precise tag following, Eric Wong, (Mon Jan 29, 8:42 pm)
Re: More precise tag following, Eric Wong, (Tue Jan 30, 4:51 am)
Re: More precise tag following, Eric Wong, (Mon Jan 29, 8:48 pm)
Re: More precise tag following, David Lang, (Sun Jan 28, 6:26 pm)
Re: More precise tag following, Nicolas Pitre, (Mon Jan 29, 1:34 pm)
Re: More precise tag following, Linus Torvalds, (Mon Jan 29, 1:42 pm)
Re: More precise tag following, Nicolas Pitre, (Mon Jan 29, 1:58 pm)
Re: More precise tag following, Chris Lee, (Mon Jan 29, 3:16 pm)
Re: More precise tag following, Theodore Tso, (Sun Jan 28, 2:10 pm)
Re: More precise tag following, Linus Torvalds, (Sun Jan 28, 2:27 pm)
Re: More precise tag following, Linus Torvalds, (Sat Jan 27, 3:25 pm)
Re: More precise tag following, Johannes Schindelin, (Sat Jan 27, 3:02 pm)
Re: More precise tag following, Simon 'corecode' Schubert..., (Sat Jan 27, 3:12 pm)
Re: More precise tag following, Johannes Schindelin, (Sat Jan 27, 3:19 pm)
Re: More precise tag following, Linus Torvalds, (Sat Jan 27, 1:56 pm)
Re: More precise tag following, Johannes Schindelin, (Sat Jan 27, 8:58 am)
Re: More precise tag following, Simon 'corecode' Schubert..., (Sat Jan 27, 9:50 am)
Re: More precise tag following, Johannes Schindelin, (Sat Jan 27, 12:46 pm)
Re: More precise tag following, Simon 'corecode' Schubert..., (Sat Jan 27, 1:12 pm)
Re: More precise tag following, Nicolas Pitre, (Sat Jan 27, 3:41 pm)
Re: More precise tag following, Johannes Schindelin, (Sat Jan 27, 3:13 pm)
Re: More precise tag following, Simon 'corecode' Schubert..., (Sat Jan 27, 3:55 pm)
Re: More precise tag following, Simon 'corecode' Schubert..., (Sat Jan 27, 5:04 am)
Re: More precise tag following, Junio C Hamano, (Sat Jan 27, 4:41 am)
Re: More precise tag following, Nicolas Pitre, (Sat Jan 27, 1:47 pm)
Re: More precise tag following, Jeff King, (Sat Jan 27, 9:33 am)
Re: More precise tag following, Junio C Hamano, (Fri Jan 26, 7:53 am)
speck-geostationary