Re: Significant performance waste in git-svn and friends

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: <git@...>
Date: Thursday, September 6, 2007 - 1:52 am

On Wed, Sep 05, 2007 at 01:40:42PM -0700, Junio C Hamano <gitster@pobox.com> wrote:

The patch was not supposed to be applied. I said it was lame ;)
It was more of a proof of concept.

Anyways, thinking a bit more about it, I was wondering if it wouldn't be
a good idea to have Git.pm have a "native" implementation (by native I
mean a .so module) for low-level plumbing tools such as hash-object,
cat-file and such.

Obviously, reinventing the wheel is not good, so this native
implementation would be using a "git library" API, such as what has
been done under SoC (though I don't know if this API exposes low-level
plumbing functions)


It could, probably. The reason I didn't use it is that it was way
quicker to hack a 10 lines patch to create the blobs by hand than it
would have been to fork a fast-import object at the correct place during
git-svn initialization and piping to it at the appropriate times.

My goal was only to check how faster this would make it not to fork a
git-hash-object per blob.

Mike
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Significant performance waste in git-svn and friends, Mike Hommey, (Wed Sep 5, 2:47 pm)
Re: Significant performance waste in git-svn and friends, Shawn O. Pearce, (Fri Sep 7, 12:55 am)
Re: Significant performance waste in git-svn and friends, Junio C Hamano, (Wed Sep 5, 4:40 pm)
Re: Significant performance waste in git-svn and friends, Mike Hommey, (Thu Sep 6, 1:52 am)
Re: Significant performance waste in git-svn and friends, Shawn O. Pearce, (Wed Sep 5, 10:16 pm)
Re: Significant performance waste in git-svn and friends, Shawn O. Pearce, (Wed Sep 5, 10:19 pm)